[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/adapter -
__init__.py:1.2.12.1
Garrett Smith
garrett at mojave-corp.com
Sun Feb 8 23:32:15 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/browser/services/adapter
In directory cvs.zope.org:/tmp/cvs-serv11138/src/zope/app/browser/services/adapter
Modified Files:
Tag: ozzope-widgets-branch
__init__.py
Log Message:
Continued refactoring of widgets. Now using view types to lookup widgets
when constructing forms instead of magic names. Next steps include
integration tests for registered widgets, fix existing tests, update
documentation, and fix vocab widgets.
=== Zope3/src/zope/app/browser/services/adapter/__init__.py 1.2 => 1.2.12.1 ===
--- Zope3/src/zope/app/browser/services/adapter/__init__.py:1.2 Fri Nov 21 12:11:11 2003
+++ Zope3/src/zope/app/browser/services/adapter/__init__.py Sun Feb 8 23:31:44 2004
@@ -38,6 +38,7 @@
from zope.app.i18n import ZopeMessageIDFactory as _
from zope.app.services.adapter import IAdapterRegistration
from zope.app.interfaces.services.registration import IRegistration
+from zope.app.interfaces.form import IEditWidget
from zope.app.form.utility import getWidgetsDataForContent
from zope.app.event import publish
from zope.app.event.objectevent import ObjectCreatedEvent
@@ -48,7 +49,7 @@
def __init__(self, *args):
super(AdapterRegistrationAdd, self).__init__(*args)
- setUpWidgets(self, IAdapterRegistration)
+ setUpWidgets(self, IAdapterRegistration, IEditWidget)
def refresh(self):
if "FINISH" in self.request:
More information about the Zope3-Checkins
mailing list