[Zope3-checkins] CVS: Zope3/src/zope/products/zwiki/browser -
wikipage.py:1.2
Philipp von Weitershausen
philikon at philikon.de
Fri Jan 16 08:09:08 EST 2004
Update of /cvs-repository/Zope3/src/zope/products/zwiki/browser
In directory cvs.zope.org:/tmp/cvs-serv23976/products/zwiki/browser
Modified Files:
wikipage.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/products/zwiki/browser/wikipage.py 1.1 => 1.2 ===
--- Zope3/src/zope/products/zwiki/browser/wikipage.py:1.1 Tue Dec 16 05:05:53 2003
+++ Zope3/src/zope/products/zwiki/browser/wikipage.py Fri Jan 16 08:09:07 2004
@@ -22,7 +22,7 @@
from zope.app.browser.form.submit import Update
from zope.app.browser.form.vocabularywidget import VocabularyFieldEditWidget
from zope.app.browser.form.widget import ListWidget
-from zope.app.form.widget import CustomWidget
+from zope.app.form.widget import CustomWidgetFactory
from zope.app.interfaces.dublincore import ICMFDublinCore
from zope.app.traversing import getParent, getPath, getName
from zope.component import getAdapter, getView, getService, createObject
@@ -94,7 +94,7 @@
class AddWikiPage(object):
- type_widget = CustomWidget(VocabularyFieldEditWidget, size=1)
+ type_widget = CustomWidgetFactory(VocabularyFieldEditWidget, size=1)
def nextURL(self):
return '../'+self.context.contentName
@@ -102,7 +102,7 @@
class EditWikiPage(object):
- type_widget = CustomWidget(VocabularyFieldEditWidget, size=1)
+ type_widget = CustomWidgetFactory(VocabularyFieldEditWidget, size=1)
def update(self):
status = super(EditWikiPage, self).update()
More information about the Zope3-Checkins
mailing list