[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - configure.zcml:1.1.2.5

Guido van Rossum guido@python.org
Tue, 24 Dec 2002 21:23:20 -0500


Update of /cvs-repository/Zope3/src/zope/app/browser/services
In directory cvs.zope.org:/tmp/cvs-serv23274/src/zope/app/browser/services

Modified Files:
      Tag: NameGeddon-branch
	configure.zcml 
Log Message:
Bunch more zcml fixes.  z3.py still doesn't run.

=== Zope3/src/zope/app/browser/services/configure.zcml 1.1.2.4 => 1.1.2.5 === (607/707 lines abridged)
--- Zope3/src/zope/app/browser/services/configure.zcml:1.1.2.4	Tue Dec 24 18:20:24 2002
+++ Zope3/src/zope/app/browser/services/configure.zcml	Tue Dec 24 21:22:49 2002
@@ -1,9 +1,21 @@
 <zopeConfigure
    xmlns='http://namespaces.zope.org/zope'
    xmlns:browser='http://namespaces.zope.org/browser'
-   package="zope.app.services"   
+   xmlns:form='http://namespaces.zope.org/form'
+   package="zope.app.browser.services"   
    >
 
+  <browser:menu id="add_component"
+        title="Menu of objects to be added to service managers"
+        />
+
+  <browser:menu id="add_user" 
+      title="Menu for adding new User." />
+
+  <browser:menu id="add_configuration"
+        title="Menu of addable configuration objects"
+        />
+
 <!--Error Reporting Service -->
 
   <browser:defaultView  
@@ -80,18 +92,19 @@
 
   <browser:defaultView 
       name="index.html"
-      for="zope.event.IEventService+" />
+      for="zope.interfaces.event.IEventService+" />
 
   <browser:view 
       permission="zope.ManageServices" 
-      for="zope.event.IEventService+"
+      for="zope.interfaces.event.IEventService+"
       factory="zope.app.browser.services.event.Control">
 
       <browser:page name="index.html" attribute="index" />
 
   </browser:view>
 
-  <browser:menuItems menu="zmi_views" for="zope.event.IEventService+">
+  <browser:menuItems
+      menu="zmi_views" for="zope.interfaces.event.IEventService+">
     <browser:menuItem title="Control" action="@@index.html" />
   </browser:menuItems>
 
@@ -100,7 +113,7 @@
       action="Events"  title="Event Service"

[-=- -=- -=- 607 lines omitted -=- -=- -=-]

 
-    <page name="contents.html"
+    <browser:page name="contents.html"
                   attribute="index"
                   />
-    <page name="add.html"
+    <browser:page name="add.html"
                   attribute="add"
                   />
-    <page name="removeObjects.html"
+    <browser:page name="removeObjects.html"
                   attribute="removeObjects"
                   />
-  </view>
+  </browser:view>
 
   <form:edit
-     schema=".interfaces.IViewPackageInfo."
+     schema="zope.app.interfaces.services.service.IViewPackageInfo."
      name="DefaultConfiguration.html"
      permission="zope.ManageServices"
      label="Default configuration parameters"
      />
 
-  <menuItems menu="zmi_views"
+  <browser:menuItems menu="zmi_views"
              for="zope.app.interfaces.services.service.IViewPackage">
-    <menuItem title="Contents"
+    <browser:menuItem title="Contents"
               action="@@contents.html"/>
-    <menuItem title="Default Configuration"
+    <browser:menuItem title="Default Configuration"
               action="@@DefaultConfiguration.html"/>
-  </menuItems>
+  </browser:menuItems>
 
-  <menuItem menu="add_component" for="zope.app.interfaces.container.IAdding"
+  <browser:menuItem menu="add_component" for="zope.app.interfaces.container.IAdding"
      action="zope.app.services.viewpackage.ViewPackage" 
      title="View Sub-Package" />
 
@@ -826,6 +821,6 @@
   <browser:icon
       name="zmi_icon"
       for="zope.app.interfaces.services.hub.IObjectHub" 
-      file="./objecthub.gif" />
+      file="hub.gif" />
 
-</zope:zopeConfigure>
+</zopeConfigure>