[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container - configure.zcml:1.5
Jim Fulton
jim@zope.com
Mon, 30 Dec 2002 18:50:54 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/container
In directory cvs.zope.org:/tmp/cvs-serv18207/src/zope/app/browser/container
Modified Files:
configure.zcml
Log Message:
Changed all single-page browser:view to use browser:page instead.
Got rid of superfluous defaultView directives.
Moved menu specifications into page tags, where possible.
=== Zope3/src/zope/app/browser/container/configure.zcml 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/container/configure.zcml:1.4 Mon Dec 30 11:46:34 2002
+++ Zope3/src/zope/app/browser/container/configure.zcml Mon Dec 30 18:50:24 2002
@@ -16,19 +16,21 @@
</browser:view>
- <browser:view
- for="zope.app.interfaces.container.IReadContainer"
- permission="zope.ManageContent"
- factory="zope.app.browser.container.find.Find">
-
- <browser:page name="find.html" attribute="index" />
- </browser:view>
-
<browser:menuItem
for="zope.app.interfaces.container.IWriteContainer"
menu="zmi_actions"
title="Add"
action="+"
+ />
+
+ <browser:page
+ for="zope.app.interfaces.container.IReadContainer"
+ name="find.html"
+ menu="zmi_actions"
+ title="Find"
+ permission="zope.ManageContent"
+ class="zope.app.browser.container.find.Find"
+ attribute="index"
/>
</zopeConfigure>