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

Garrett Smith garrett at mojave-corp.com
Tue May 11 07:18:54 EDT 2004


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

Modified Files:
	__init__.py 
Log Message:
Updates of widget implementations per browser widget framework refactor.


=== Zope3/src/zope/app/registration/browser/__init__.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/registration/browser/__init__.py:1.7	Sat Apr 24 19:19:47 2004
+++ Zope3/src/zope/app/registration/browser/__init__.py	Tue May 11 07:18:23 2004
@@ -17,9 +17,7 @@
 """
 from zope.app.container.browser.adding import Adding
 from zope.app.container.interfaces import INameChooser
-from zope.app.form.browser import BrowserWidget, RadioWidget
-from zope.app.form.browser.interfaces import IBrowserWidget
-from zope.app.form.interfaces import IInputWidget
+from zope.app.form.browser.widget import SimpleInputWidget
 from zope.app.i18n import ZopeMessageIDFactory as _
 from zope.app import zapi
 from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
@@ -156,7 +154,7 @@
         self.message = message
 
 
-class ComponentPathWidget(BrowserWidget):
+class ComponentPathWidget(SimpleInputWidget):
     """Widget for displaying component paths
 
     The widget doesn't actually allow editing. Rather it gets the
@@ -165,8 +163,6 @@
     component using the field's name. Otherwise, it uses the path to
     the context.
     """
-
-    implements(IBrowserWidget, IInputWidget)
 
     def __call__(self):
         """See zope.app.browser.interfaces.form.IBrowserWidget"""




More information about the Zope3-Checkins mailing list