[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - configure.zcml:1.7
Jim Fulton
jim@zope.com
Sun, 29 Dec 2002 08:29:29 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/services
In directory cvs.zope.org:/tmp/cvs-serv23387
Modified Files:
configure.zcml
Log Message:
Disabled "Add" actions for "Packages" object, since these
have an add control right on the contents view.
=== Zope3/src/zope/app/browser/services/configure.zcml 1.6 => 1.7 ===
--- Zope3/src/zope/app/browser/services/configure.zcml:1.6 Thu Dec 26 18:21:46 2002
+++ Zope3/src/zope/app/browser/services/configure.zcml Sun Dec 29 08:29:28 2002
@@ -600,7 +600,10 @@
<!-- Packages -->
- <browser:defaultView for="zope.app.interfaces.services.package.IPackages" name="contents.html" />
+ <browser:defaultView
+ for="zope.app.interfaces.services.package.IPackages"
+ name="contents.html"
+ />
<browser:view
for="zope.app.interfaces.services.package.IPackages"
@@ -618,15 +621,28 @@
/>
</browser:view>
- <browser:menuItems menu="zmi_views" for="zope.app.interfaces.services.package.IPackages">
- <browser:menuItem title="Services"
- action="@@contents.html"/>
- </browser:menuItems>
+ <browser:menuItem
+ menu="zmi_views"
+ for="zope.app.interfaces.services.package.IPackages"
+ title="Services"
+ action="@@contents.html"
+ />
- <browser:defaultView for="zope.app.interfaces.services.package.IPackage" name="contents.html" />
+ <browser:menuItem
+ menu="zmi_actions"
+ for="zope.app.interfaces.services.package.IPackages"
+ title="Add"
+ action="@@contents.html"
+ filter="nothing"
+ />
<!-- Package -->
+
+ <browser:defaultView
+ for="zope.app.interfaces.services.package.IPackage"
+ name="contents.html"
+ />
<browser:view
for="zope.app.interfaces.services.package.IPackage"