[Zope3-checkins] CVS: Zope3/src/zope/app/browser/dublincore - configure.zcml:1.6
Godefroid Chapelle
gotcha@swing.be
Fri, 11 Apr 2003 18:16:15 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/dublincore
In directory cvs.zope.org:/tmp/cvs-serv9040/app/browser/dublincore
Modified Files:
configure.zcml
Log Message:
- added usage argument to ZCML menu directive
The menu usage is used by the configuration to initialize
the page view usage in case a page is registered as a
menu item included in a menu declared with a usage argument.
- added corresponding tests
- various ZCML refactorings to improve usage initialization
- added tests for menu and usage on page directive
=== Zope3/src/zope/app/browser/dublincore/configure.zcml 1.5 => 1.6 ===
--- Zope3/src/zope/app/browser/dublincore/configure.zcml:1.5 Thu Apr 10 05:20:32 2003
+++ Zope3/src/zope/app/browser/dublincore/configure.zcml Fri Apr 11 18:15:45 2003
@@ -9,17 +9,12 @@
>
<browser:page name="EditMetaData.html"
+ menu="zmi_views" title="Metadata"
template="edit.pt" />
<browser:page name="MetaDataBox"
template="box.pt" />
</browser:pages>
-
-
- <browser:menuItems menu="zmi_views"
- for="zope.app.interfaces.annotation.IAnnotatable">
- <browser:menuItem title="Metadata" action="@@EditMetaData.html" />
- </browser:menuItems>
</zopeConfigure>