[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/form/browser/metadirectives.py
The Browser Menu Service is gone.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Sep 23 10:47:43 EDT 2004
Log message for revision 27655:
The Browser Menu Service is gone.
Use MenuField instead of TextLine for menu attributes.
Changed:
U Zope3/trunk/src/zope/app/form/browser/metadirectives.py
-=-
Modified: Zope3/trunk/src/zope/app/form/browser/metadirectives.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/metadirectives.py 2004-09-23 14:47:41 UTC (rev 27654)
+++ Zope3/trunk/src/zope/app/form/browser/metadirectives.py 2004-09-23 14:47:43 UTC (rev 27655)
@@ -23,6 +23,7 @@
from zope.schema import Text, TextLine, Id
from zope.app.security.fields import Permission
from zope.app.component.fields import LayerField
+from zope.app.publisher.browser.fields import MenuField
class ICommonInformation(Interface):
"""
@@ -96,7 +97,7 @@
required=False
)
- menu = TextLine(
+ menu = MenuField(
title=u"The browser menu to include the form in.",
description=u"""
Many views are included in menus. It's convenient to name the
@@ -126,7 +127,7 @@
Common information for browser wizards
"""
- menu = TextLine(
+ menu = MenuField(
title=u"The browser menu to include the form in.",
description=u"""
Many views are included in menus. It's convenient to name the
More information about the Zope3-Checkins
mailing list