[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser - configure.zcml:1.12.4.2

Jim Fulton jim@zope.com
Thu, 31 Oct 2002 13:18:20 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv8171

Modified Files:
      Tag: Zope3-Bangalore-TTW-Branch
	configure.zcml 
Log Message:
Added zmi view menus entries for Packages and service directives.

=== Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser/configure.zcml 1.12.4.1 => 1.12.4.2 ===
--- Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser/configure.zcml:1.12.4.1	Mon Oct 21 12:27:34 2002
+++ Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser/configure.zcml	Thu Oct 31 13:18:20 2002
@@ -48,8 +48,12 @@
                   />
   </view>
 
-  <defaultView for=".IPackage." name="contents.html" />
+  <menuItems menu="zmi_views" for=".IPackages.">
+    <menuItem title="Contents"
+              action="@@contents.html"/>
+  </menuItems>
 
+  <defaultView for=".IPackage." name="contents.html" />
 
   <view 
      for=".IPackage."
@@ -62,6 +66,11 @@
    </view>
 
 
+  <menuItems menu="zmi_views" for=".IPackage.">
+    <menuItem title="Contents"
+              action="@@contents.html"/>
+  </menuItems>
+
    <menu id="add_component" 
                  title="Menu of objects to be added to service managers"
                  />
@@ -122,6 +131,10 @@
   <page name="update.html" attribute="editDirective" />
 
 </view>
+
+  <menuItems menu="zmi_views" for=".IServiceDirective.">
+    <menuItem title="Edit" action="edit_service_directive.html" />
+  </menuItems>
 
 
 </zope:zopeConfigure>