[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/registration - __init__.py:1.13

Raju Sivalingam sraju at zeomega.com
Thu Dec 18 01:10:14 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/browser/services/registration
In directory cvs.zope.org:/tmp/cvs-serv26733/src/zope/app/browser/services/registration

Modified Files:
	__init__.py 
Log Message:

  --  ZPT Registration



=== Zope3/src/zope/app/browser/services/registration/__init__.py 1.12 => 1.13 ===
--- Zope3/src/zope/app/browser/services/registration/__init__.py:1.12	Mon Nov  3 16:56:49 2003
+++ Zope3/src/zope/app/browser/services/registration/__init__.py	Thu Dec 18 01:09:43 2003
@@ -22,7 +22,7 @@
 from zope.app.interfaces.browser.form import IBrowserWidget
 from zope.app.interfaces.container import INameChooser
 
-from zope.app.interfaces.services.registration import IComponentRegistration
+from zope.app.interfaces.services.registration import IRegistration
 from zope.app.interfaces.services.registration import IRegistered
 from zope.app.interfaces.services.registration import UnregisteredStatus
 from zope.app.interfaces.services.registration import RegisteredStatus
@@ -244,7 +244,7 @@
         # Render as a link to the component
         field = self.context
         context = field.context
-        if IComponentRegistration.isImplementedBy(context):
+        if IRegistration.isImplementedBy(context):
             # It's a registration object. Just get the corresponding attr
             path = getattr(context, field.__name__)
             # The path may be relative; then interpret relative to ../..
@@ -274,7 +274,7 @@
         "See zope.app.interfaces.form.IWidget"
         field = self.context
         context = field.context
-        if IComponentRegistration.isImplementedBy(context):
+        if IRegistration.isImplementedBy(context):
             # It's a registration object. Just get the corresponding attr
             path = getattr(context, field.getName())
         else:




More information about the Zope3-Checkins mailing list