[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/LocalEventService/Views/Browser - configure.zcml:1.6

Stephan Richter srichter@cbu.edu
Wed, 10 Jul 2002 23:51:33 -0400


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

Modified Files:
	configure.zcml 
Log Message:
- Added descriptions to last Services

- Removed old-style menu entries

- Started more aggressivly to convert ZCML to Steve's style suggestions


=== Zope3/lib/python/Zope/App/OFS/Services/LocalEventService/Views/Browser/configure.zcml 1.5 => 1.6 ===
 <zopeConfigure
-   xmlns='http://namespaces.zope.org/zope'
-   xmlns:browser='http://namespaces.zope.org/browser'
->
-  <browser:defaultView 
-      name="control.html"
-      for="Zope.Event.IEventService+"
-      permission="Zope.ManageServices" 
-      factory=".Control." />
+    xmlns="http://namespaces.zope.org/zope"
+    xmlns:browser="http://namespaces.zope.org/browser">
 
-  <browser:menuItems menu="zmi_views" for="Zope.Event.IEventService+">
-    <browser:menuItem title="Control" action="@@control.html" />
-  </browser:menuItems>
+<browser:defaultView 
+    name="control.html"
+    for="Zope.Event.IEventService+"
+    permission="Zope.ManageServices" 
+    factory=".Control." />
 
-  <browser:menuItem menu="add_content"
-                for="Zope.App.OFS.Services.ServiceManager.IServiceAdding."
-                title="Events" action="EventService"
-                description="Capture events from all the contents of this folder
-                and its entire nested folder structure"
-                    />
+<browser:menuItems menu="zmi_views" for="Zope.Event.IEventService+">
+  <browser:menuItem title="Control" action="@@control.html" />
+</browser:menuItems>
+
+<browser:menuItem menu="add_service" 
+    for="Zope.App.OFS.Container.IAdding."
+    action="Events"  title="Event Service"
+    description="An event service: use sparingly" />
 
 </zopeConfigure>