[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form - addwizard.py:1.4 editwizard.py:1.7
Jim Fulton
jim@zope.com
Mon, 28 Jul 2003 18:21:34 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/form
In directory cvs.zope.org:/tmp/cvs-serv30139/src/zope/app/browser/form
Modified Files:
addwizard.py editwizard.py
Log Message:
No longer declare INonEmptyDirective and ISubdirectiveHandler.
Complex directive handlers and now recognized through the meta
configuration.
=== Zope3/src/zope/app/browser/form/addwizard.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/form/addwizard.py:1.3 Mon Jul 14 11:28:23 2003
+++ Zope3/src/zope/app/browser/form/addwizard.py Mon Jul 28 18:20:58 2003
@@ -25,8 +25,6 @@
from zope.app.interfaces.form import WidgetsError
from zope.app.form.utility import setUpWidgets, getWidgetsData
from zope.configuration.action import Action
-from zope.configuration.interfaces import INonEmptyDirective
-from zope.configuration.interfaces import ISubdirectiveHandler
from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
from zope.security.checker import defineChecker, NamesChecker
from zope.component import getAdapter
@@ -148,9 +146,6 @@
class AddWizardDirective:
-
- classProvides(INonEmptyDirective)
- implements(ISubdirectiveHandler)
def __init__(
self, _context, name, schema, permission, content_factory='',
=== Zope3/src/zope/app/browser/form/editwizard.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/browser/form/editwizard.py:1.6 Tue Jul 15 10:09:27 2003
+++ Zope3/src/zope/app/browser/form/editwizard.py Mon Jul 28 18:20:58 2003
@@ -23,8 +23,6 @@
from zope.app.publisher.browser.globalbrowsermenuservice \
import menuItemDirective, globalBrowserMenuService
from zope.configuration.action import Action
-from zope.configuration.interfaces import INonEmptyDirective
-from zope.configuration.interfaces import ISubdirectiveHandler
from zope.app.pagetemplate.simpleviewclass import SimpleViewClass
from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
from editview import normalize, EditViewFactory, EditView
@@ -226,9 +224,6 @@
class EditWizardDirective:
-
- classProvides(INonEmptyDirective)
- implements(ISubdirectiveHandler)
def __init__(self, _context, name, schema, permission,
for_=None, class_=None, template=None, layer='default',