[Zope3-checkins] CVS: Zope3/src/zope/app/browser/component -
configure.zcml:1.9.32.2 interfacewidget.py:1.45.14.2
Garrett Smith
garrett at mojave-corp.com
Mon Mar 1 18:33:37 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/browser/component
In directory cvs.zope.org:/tmp/cvs-serv27606/src/zope/app/browser/component
Modified Files:
Tag: garrett-widgets2-branch
configure.zcml interfacewidget.py
Log Message:
Changes related to widget machinery:
- Added source argument to setUpEditWidgets and setUpDisplayWidgets.
- Renamed IEditWidget to IInputWidget.
- Added a widgetsData attribute to zope.app.interfaces.formWidgetsError.
=== Zope3/src/zope/app/browser/component/configure.zcml 1.9.32.1 => 1.9.32.2 ===
--- Zope3/src/zope/app/browser/component/configure.zcml:1.9.32.1 Thu Feb 26 00:10:47 2004
+++ Zope3/src/zope/app/browser/component/configure.zcml Mon Mar 1 18:33:06 2004
@@ -3,7 +3,7 @@
<view
type="zope.publisher.interfaces.browser.IBrowserRequest"
for="zope.app.interfaces.component.IInterfaceField"
- provides="zope.app.interfaces.form.IEditWidget"
+ provides="zope.app.interfaces.form.IInputWidget"
factory=".interfacewidget.InterfaceWidget"
permission="zope.Public"
/>
@@ -19,7 +19,7 @@
<view
type="zope.publisher.interfaces.browser.IBrowserRequest"
for="zope.app.interfaces.component.IInterfacesField"
- provides="zope.app.interfaces.form.IEditWidget"
+ provides="zope.app.interfaces.form.IInputWidget"
factory=".interfacewidget.MultiInterfaceWidget"
permission="zope.Public"
/>
=== Zope3/src/zope/app/browser/component/interfacewidget.py 1.45.14.1 => 1.45.14.2 ===
--- Zope3/src/zope/app/browser/component/interfacewidget.py:1.45.14.1 Thu Feb 26 00:10:47 2004
+++ Zope3/src/zope/app/browser/component/interfacewidget.py Mon Mar 1 18:33:06 2004
@@ -18,7 +18,7 @@
from zope.interface import Interface, implements
from zope.app.browser.form.widget import BrowserWidget
from zope.app.i18n import ZopeMessageIDFactory as _
-from zope.app.interfaces.form import IEditWidget
+from zope.app.interfaces.form import IInputWidget
from zope.app.interfaces.form import WidgetInputError
from zope.app.interfaces.form import ConversionError
from zope.app.interfaces.form import MissingInputError
@@ -31,7 +31,7 @@
class InterfaceWidget(BrowserWidget, BrowserView):
- implements(IEditWidget)
+ implements(IInputWidget)
def _convert(self, value):
if value and value != 'None':
@@ -106,7 +106,7 @@
# which is a tuple of interfaces.
class MultiInterfaceWidget(BrowserWidget, BrowserView):
- implements(IEditWidget)
+ implements(IInputWidget)
# Names used:
#
More information about the Zope3-Checkins
mailing list