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

Philipp von Weitershausen philikon at philikon.de
Fri Jan 16 08:09:37 EST 2004


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

Modified Files:
	__init__.py 
Log Message:
CustomWidget is CustomWidgetFactory now. See the following proposal email
for more information:
http://mail.zope.org/pipermail/zope3-dev/2004-January/009265.html

Backward compatability is kept for one month.


=== Zope3/src/zope/app/browser/services/utility/__init__.py 1.11 => 1.12 ===
--- Zope3/src/zope/app/browser/services/utility/__init__.py:1.11	Sun Sep 21 13:31:08 2003
+++ Zope3/src/zope/app/browser/services/utility/__init__.py	Fri Jan 16 08:09:06 2004
@@ -17,7 +17,7 @@
 """
 from zope.app.browser.component.interfacewidget import InterfaceWidget
 from zope.app.browser.services.registration import AddComponentRegistration
-from zope.app.form.widget import CustomWidget
+from zope.app.form.widget import CustomWidgetFactory
 from zope.app.interfaces.services.registration import ActiveStatus
 from zope.app.interfaces.services.registration import RegisteredStatus
 from zope.app.interfaces.services.registration import UnregisteredStatus
@@ -51,7 +51,7 @@
     This is a view on a local utility, configured by an <addform>
     directive.
     """
-    interface_widget = CustomWidget(UtilityInterfaceWidget)
+    interface_widget = CustomWidgetFactory(UtilityInterfaceWidget)
 
 
 class Utilities:




More information about the Zope3-Checkins mailing list