[Zope3-checkins] CVS: zopeproducts/bugtracker/browser - bug.py:1.13
attachments.py:1.2
Philipp von Weitershausen
philikon at philikon.de
Thu Feb 19 04:44:14 EST 2004
Update of /cvs-repository/zopeproducts/bugtracker/browser
In directory cvs.zope.org:/tmp/cvs-serv16902/browser
Modified Files:
bug.py attachments.py
Log Message:
CustomWidget -> CustomWidgetFactory
=== zopeproducts/bugtracker/browser/bug.py 1.12 => 1.13 ===
--- zopeproducts/bugtracker/browser/bug.py:1.12 Sat Aug 30 01:09:42 2003
+++ zopeproducts/bugtracker/browser/bug.py Thu Feb 19 04:44:14 2004
@@ -22,7 +22,7 @@
from zope.app.browser.form.vocabularywidget import VocabularyEditWidget
from zope.app.browser.form.widget import TextWidget, TextAreaWidget
from zope.app.context import ContextWrapper
-from zope.app.form.widget import CustomWidget
+from zope.app.form.widget import CustomWidgetFactory
from zope.app.security.grants.principalrole import principalRoleManager
from zope.app.security.settings import Allow
from zope.app.services.servicenames import Authentication
@@ -176,18 +176,18 @@
class BugForm(object):
- type_widget = CustomWidget(ManagableVocabularyEditWidget)
+ type_widget = CustomWidgetFactory(ManagableVocabularyEditWidget)
- status_widget = CustomWidget(ManagableVocabularyEditWidget)
+ status_widget = CustomWidgetFactory(ManagableVocabularyEditWidget)
- priority_widget = CustomWidget(ManagableVocabularyEditWidget)
+ priority_widget = CustomWidgetFactory(ManagableVocabularyEditWidget)
- release_widget = CustomWidget(ManagableVocabularyEditWidget)
+ release_widget = CustomWidgetFactory(ManagableVocabularyEditWidget)
- title_widget = CustomWidget(TextWidget, style="width: 80%")
+ title_widget = CustomWidgetFactory(TextWidget, style="width: 80%")
- description_widget = CustomWidget(TextAreaWidget, height=10,
- style="width: 100%")
+ description_widget = CustomWidgetFactory(TextAreaWidget, height=10,
+ style="width: 100%")
class AddBug(BugForm):
@@ -380,5 +380,3 @@
return zapi.name(self.context)
__call__ = ViewPageTemplateFile('branchentry.pt')
-
-
=== zopeproducts/bugtracker/browser/attachments.py 1.1 => 1.2 ===
--- zopeproducts/bugtracker/browser/attachments.py:1.1 Thu Jul 24 14:08:10 2003
+++ zopeproducts/bugtracker/browser/attachments.py Thu Feb 19 04:44:14 2004
@@ -16,9 +16,9 @@
$Id$
"""
from zope.app.browser.form.widget import FileWidget
-from zope.app.form.widget import CustomWidget
+from zope.app.form.widget import CustomWidgetFactory
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