[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form -
metadirectives.py:1.5.2.1
Philipp von Weitershausen
philikon at philikon.de
Wed Aug 6 11:25:25 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/browser/form
In directory cvs.zope.org:/tmp/cvs-serv12594/browser/form
Modified Files:
Tag: zcml-interface-field-branch
metadirectives.py
Log Message:
Change GlobalObject to InterfaceField wherever applicable.
=== Zope3/src/zope/app/browser/form/metadirectives.py 1.5 => 1.5.2.1 ===
--- Zope3/src/zope/app/browser/form/metadirectives.py:1.5 Mon Aug 4 10:54:19 2003
+++ Zope3/src/zope/app/browser/form/metadirectives.py Wed Aug 6 10:24:51 2003
@@ -20,6 +20,8 @@
Bool, PythonIdentifier, MessageID
from zope.schema import Text, TextLine, Id
+from zope.app.configuration import InterfaceField
+
class ICommonInformation(Interface):
"""
Common information for all successive directives
@@ -31,13 +33,13 @@
required=True
)
- schema = GlobalObject(
+ schema = InterfaceField(
title=u"Schema",
description=u"The schema from which the form is generated.",
required=True
)
- for_ = GlobalObject(
+ for_ = InterfaceField(
title=u"Interface",
description=u"""
The interface this page (view) applies to.
More information about the Zope3-Checkins
mailing list