[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/registration - __init__.py:1.14 configure.zcml:1.9

Philipp von Weitershausen philikon at philikon.de
Tue Mar 2 13:28:10 EST 2004


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

Modified Files:
	__init__.py configure.zcml 
Log Message:
Moved browser interfaces to zope.app.browser. The form interfaces might
not stick around very long though. We'll see after Garret merges his
branch.


=== Zope3/src/zope/app/browser/services/registration/__init__.py 1.13 => 1.14 ===
--- Zope3/src/zope/app/browser/services/registration/__init__.py:1.13	Thu Dec 18 01:09:43 2003
+++ Zope3/src/zope/app/browser/services/registration/__init__.py	Tue Mar  2 13:27:39 2004
@@ -19,7 +19,7 @@
 from zope.app.browser.container.adding import Adding
 from zope.app.browser.form.widget import RadioWidget, BrowserWidget
 from zope.app.i18n import ZopeMessageIDFactory as _
-from zope.app.interfaces.browser.form import IBrowserWidget
+from zope.app.browser.interfaces.form import IBrowserWidget
 from zope.app.interfaces.container import INameChooser
 
 from zope.app.interfaces.services.registration import IRegistration
@@ -240,7 +240,7 @@
     implements(IBrowserWidget)
 
     def __call__(self):
-        "See zope.app.interfaces.browser.form.IBrowserWidget"
+        """See zope.app.browser.interfaces.form.IBrowserWidget"""
         # Render as a link to the component
         field = self.context
         context = field.context
@@ -263,15 +263,15 @@
                 % (url, path))
 
     def hidden(self):
-        "See zope.app.interfaces.browser.form.IBrowserWidget"
+        """See zope.app.browser.interfaces.form.IBrowserWidget"""
         return ''
 
     def hasInput(self):
-        "See zope.app.interfaces.form.IWidget"
+        """See zope.app.interfaces.form.IWidget"""
         return 1
 
     def getInputValue(self):
-        "See zope.app.interfaces.form.IWidget"
+        """See zope.app.interfaces.form.IWidget"""
         field = self.context
         context = field.context
         if IRegistration.isImplementedBy(context):


=== Zope3/src/zope/app/browser/services/registration/configure.zcml 1.8 => 1.9 ===
--- Zope3/src/zope/app/browser/services/registration/configure.zcml:1.8	Sun Feb  8 20:21:18 2004
+++ Zope3/src/zope/app/browser/services/registration/configure.zcml	Tue Mar  2 13:27:39 2004
@@ -6,7 +6,7 @@
       for="zope.app.interfaces.services.registration.IRegistrationStatus"
       name="edit"
       class=".RegistrationStatusWidget"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
+      allowed_interface="zope.app.browser.interfaces.form.IBrowserWidget"
       permission="zope.ManageServices" />
 
   <page
@@ -15,7 +15,7 @@
       template="changeregistrations.pt"
       class=".ChangeRegistrations"
       allowed_interface=
-                   "zope.app.interfaces.browser.form.IFormCollaborationView"
+                   "zope.app.browser.interfaces.form.IFormCollaborationView"
       permission="zope.ManageServices" />
 
   <editform
@@ -36,14 +36,14 @@
 
   <page
       permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
+      allowed_interface="zope.app.browser.interfaces.form.IBrowserWidget"
       for="zope.app.interfaces.services.registration.IComponentPath"
       name="edit"
       class=".ComponentPathWidget" />
 
   <page
       permission="zope.Public"
-      allowed_interface="zope.app.interfaces.browser.form.IBrowserWidget"
+      allowed_interface="zope.app.browser.interfaces.form.IBrowserWidget"
       for="zope.app.interfaces.services.registration.IComponentPath"
       name="display"
       class=".ComponentPathWidget" />




More information about the Zope3-Checkins mailing list