[Zope3-checkins] CVS: Zope3/src/zope/app/browser/content - file.py:1.5

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


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

Modified Files:
	file.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/content/file.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/content/file.py:1.4	Wed Aug  6 10:41:41 2003
+++ Zope3/src/zope/app/browser/content/file.py	Fri Jan 16 08:09:06 2004
@@ -16,7 +16,7 @@
 $Id$
 """
 from zope.app.browser.form.widget import FileWidget
-from zope.app.form.widget import CustomWidget
+from zope.app.form.widget import CustomWidgetFactory
 
 __metaclass__ = type
 
@@ -37,4 +37,4 @@
 class FileUpload:
     """File editing mix-in that uses a file-upload widget."""
 
-    data_widget = CustomWidget(FileWidget)
+    data_widget = CustomWidgetFactory(FileWidget)




More information about the Zope3-Checkins mailing list