[Zope3-checkins] CVS: Zope3/src/zope/app/component -
metadirectives.py:1.12
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Mar 2 09:25:50 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/component
In directory cvs.zope.org:/tmp/cvs-serv22160/src/zope/app/component
Modified Files:
metadirectives.py
Log Message:
The plain zope:factory directive did not declare the title and description
attribute, even though the handler was able to add it.
=== Zope3/src/zope/app/component/metadirectives.py 1.11 => 1.12 ===
--- Zope3/src/zope/app/component/metadirectives.py:1.11 Thu Dec 18 11:28:57 2003
+++ Zope3/src/zope/app/component/metadirectives.py Tue Mar 2 09:25:49 2004
@@ -208,6 +208,20 @@
required=False
)
+ title = MessageID(
+ title=u"Title",
+ description=u"""
+ text suitable for use in the 'add content' menu of a
+ management interface""",
+ required=False
+ )
+
+ description = MessageID(
+ title=u"Description",
+ description=u"Longer narrative description of what this factory does",
+ required=False
+ )
+
permission = Id(
title=u"Permission",
required=False
More information about the Zope3-Checkins
mailing list