[Zope3-checkins] CVS: Zope3/src/zope/app/browser/utilities -
configure.zcml:1.10.8.2 schema.py:1.5.22.2
Garrett Smith
garrett at mojave-corp.com
Mon Mar 1 18:33:42 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/browser/utilities
In directory cvs.zope.org:/tmp/cvs-serv27606/src/zope/app/browser/utilities
Modified Files:
Tag: garrett-widgets2-branch
configure.zcml schema.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/utilities/configure.zcml 1.10.8.1 => 1.10.8.2 ===
--- Zope3/src/zope/app/browser/utilities/configure.zcml:1.10.8.1 Mon Mar 1 11:46:27 2004
+++ Zope3/src/zope/app/browser/utilities/configure.zcml Mon Mar 1 18:33:10 2004
@@ -101,7 +101,7 @@
<zope:view
for="zope.app.interfaces.utilities.schema.IMutableSchemaField"
type="zope.publisher.interfaces.browser.IBrowserRequest"
- provides="zope.app.interfaces.form.IEditWidget"
+ provides="zope.app.interfaces.form.IInputWidget"
factory="zope.app.browser.component.interfacewidget.InterfaceWidget"
/>
@@ -116,7 +116,7 @@
<zope:view
for="zope.app.interfaces.utilities.schema.IMutableSchemasField"
type="zope.publisher.interfaces.browser.IBrowserRequest"
- provides="zope.app.interfaces.form.IEditWidget"
+ provides="zope.app.interfaces.form.IInputWidget"
factory="zope.app.browser.component.interfacewidget.MultiInterfaceWidget"
permission="zope.Public"
/>
=== Zope3/src/zope/app/browser/utilities/schema.py 1.5.22.1 => 1.5.22.2 ===
--- Zope3/src/zope/app/browser/utilities/schema.py:1.5.22.1 Thu Feb 26 00:10:53 2004
+++ Zope3/src/zope/app/browser/utilities/schema.py Mon Mar 1 18:33:10 2004
@@ -83,5 +83,5 @@
adapted = zapi.getAdapter(self.context, self.schema)
if adapted is not self.context:
adapted.__parent__ = self.context
- setUpEditWidgets(self, self.schema, names=self.fieldNames,
- context=self.adapted)
+ setUpEditWidgets(self, self.schema, source=self.adapted,
+ names=self.fieldNames)
More information about the Zope3-Checkins
mailing list