[Zope-CVS] CVS: Packages3/workflow/browser - configure.zcml:1.4
Ulrich Eck
ueck@net-labs.de
Fri, 7 Feb 2003 10:29:58 -0500
Update of /cvs-repository/Packages3/workflow/browser
In directory cvs.zope.org:/tmp/cvs-serv17461/browser
Modified Files:
configure.zcml
Log Message:
next steps towards a usable Stateful Workflow:
- Schema for ProcessDefinition, State, Transition
- views for TTW-Editing
- another try to get the transition-permissions working (still not done)
- configure optimization
=== Packages3/workflow/browser/configure.zcml 1.3 => 1.4 ===
--- Packages3/workflow/browser/configure.zcml:1.3 Thu Feb 6 17:03:05 2003
+++ Packages3/workflow/browser/configure.zcml Fri Feb 7 10:29:25 2003
@@ -2,6 +2,7 @@
xmlns='http://namespaces.zope.org/zope'
xmlns:browser='http://namespaces.zope.org/browser'>
+
<!-- Workflow Service -->
<browser:page
for="zope.app.interfaces.workflow.IWorkflowService"
@@ -39,7 +40,7 @@
name="index.html"
template="definition_index.pt"
class="zope.app.browser.workflow.definition.ProcessDefinitionView"
- permission="zope.ManageServices"
+ permission="zope.workflow.ManageProcessDefinitions"
/>
-->
@@ -51,7 +52,7 @@
for="zope.app.interfaces.container.IAdding"
name="ProcessDefinitionConfiguration"
class="zope.app.browser.workflow.definition.AddProcessDefinitionConfiguration"
- permission="zope.ManageServices">
+ permission="zope.workflow.ManageProcessDefinitions">
<browser:page name="add.html" template="addprocessdefinitionconfig.pt" />
<browser:page name="finish.html" attribute="action" />
@@ -64,6 +65,31 @@
action="ProcessDefinitionConfiguration"
title="Process Definition"
description="Workflow Process Definition"
+ />
+
+
+<!-- ProcessDefinitionElementContainer -->
+
+<browser:defaultView
+ for="zope.app.interfaces.workflow.IProcessDefinitionElementContainer"
+ name="contents.html"
+ />
+
+<browser:pages
+ for="zope.app.interfaces.workflow.IProcessDefinitionElementContainer"
+ permission="zope.workflow.ManageProcessDefinitions"
+ class="zope.app.browser.container.contents.Contents">
+
+ <browser:page name="contents.html" attribute="contents" />
+ <browser:page name="removeObjects.html" attribute="removeObjects" />
+
+</browser:pages>
+
+<browser:menuItem
+ for="zope.app.interfaces.workflow.IProcessDefinitionElementContainer"
+ menu="zmi_views"
+ title="Contents"
+ action="contents.html"
/>