[Zope3-checkins] CVS: Zope3/src/zope/app/workflow/browser/stateful - configure.zcml:1.6

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Apr 15 18:11:31 EDT 2004


Update of /cvs-repository/Zope3/src/zope/app/workflow/browser/stateful
In directory cvs.zope.org:/tmp/cvs-serv9000/src/zope/app/workflow/browser/stateful

Modified Files:
	configure.zcml 
Log Message:


Use addMenuItem directive for add menu item.




=== Zope3/src/zope/app/workflow/browser/stateful/configure.zcml 1.5 => 1.6 ===
--- Zope3/src/zope/app/workflow/browser/stateful/configure.zcml:1.5	Tue Mar 23 17:08:16 2004
+++ Zope3/src/zope/app/workflow/browser/stateful/configure.zcml	Thu Apr 15 18:11:30 2004
@@ -11,12 +11,12 @@
 
 <!-- Stateful Workflow Process Definition -->
 
-  <menuItem
-      menu="add_component"
-      for="zope.app.container.interfaces.IAdding"
-      action="StatefulProcessDefinition"
+  <addMenuItem
       title="Stateful Process Definition"
-      description="A stateful workflow process definition" />
+      description="A stateful workflow process definition"
+      class="zope.app.workflow.stateful.definition.StatefulProcessDefinition"
+      permission="zope.ManageServices"
+      />
 
   <page
       for="zope.app.workflow.interfaces.stateful.IStatefulProcessDefinition"




More information about the Zope3-Checkins mailing list