[Zope3-checkins] CVS: Zope3/src/zope/app/onlinehelp -
metadirectives.py:1.2.2.1
Philipp von Weitershausen
philikon at philikon.de
Wed Aug 6 11:25:34 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/onlinehelp
In directory cvs.zope.org:/tmp/cvs-serv12594/onlinehelp
Modified Files:
Tag: zcml-interface-field-branch
metadirectives.py
Log Message:
Change GlobalObject to InterfaceField wherever applicable.
=== Zope3/src/zope/app/onlinehelp/metadirectives.py 1.2 => 1.2.2.1 ===
--- Zope3/src/zope/app/onlinehelp/metadirectives.py:1.2 Sun Aug 3 15:08:30 2003
+++ Zope3/src/zope/app/onlinehelp/metadirectives.py Wed Aug 6 10:24:58 2003
@@ -18,6 +18,7 @@
from zope.configuration.fields import GlobalObject, Path, MessageID
from zope.interface import Interface, implements, classProvides
from zope.schema import TextLine, BytesLine
+from zope.app.configuration import InterfaceField
class IRegisterDirective(Interface):
"""Register directive for onlien help topics."""
@@ -38,7 +39,7 @@
default="",
required=False)
- for_ = GlobalObject(
+ for_ = InterfaceField(
title=u"Object Interface",
description=u"Interface for which this Help Topic is registered.",
default=None,
More information about the Zope3-Checkins
mailing list