[CMF-checkins] CVS: CMF/CMFSetup/xml - wtcWorkflowExport.xml:1.3
Tres Seaver
tseaver at zope.com
Tue Jun 8 19:51:48 EDT 2004
Update of /cvs-repository/CMF/CMFSetup/xml
In directory cvs.zope.org:/tmp/cvs-serv15327/xml
Modified Files:
wtcWorkflowExport.xml
Log Message:
- workflow.py:
o Add SAX-based parsing of tool config XML.
o Add DOM-based parsing of Workflow Definition (currently incomplete,
parsing only top-level attributes and states).
- xml/wtcWorkflowExport.xml:
o Update template for improved parseability, and to fix bugs revealed
during parsing.
=== CMF/CMFSetup/xml/wtcWorkflowExport.xml 1.2 => 1.3 ===
--- CMF/CMFSetup/xml/wtcWorkflowExport.xml:1.2 Fri Jun 4 23:16:51 2004
+++ CMF/CMFSetup/xml/wtcWorkflowExport.xml Tue Jun 8 19:51:47 2004
@@ -2,7 +2,6 @@
<dc-workflow
xmlns:tal="http://xml.zope.org/namespaces/tal"
workflow_id="dcworkflow"
- type="DCWorkflow"
title="Some DCWorkflow"
state_variable="review_state"
initial_state="visible"
@@ -96,22 +95,31 @@
">
<span
tal:replace="state/description">DESCRIPTION</span>
- <permission
+ <exit-transition
+ transition_id="TRANSITION_ID"
+ tal:repeat="exit state/transitions"
+ tal:attributes="transition_id exit"
+ />
+ <permission-map
name=""
acquired="True"
tal:repeat="perm state/permissions"
tal:attributes="name perm/name;
acquired perm/acquired;
">
- <role
+ <permission-role
tal:repeat="role perm/roles"
- tal:content="role">ROLE</role>
- </permission>
- <exit-transition
- transition_id="TRANSITION_ID"
- tal:repeat="exit state/transitions"
- tal:attributes="transition_id exit"
- />
+ tal:content="role">ROLE</permission-role>
+ </permission-map>
+ <group-map
+ name=""
+ tal:repeat="group state/groups"
+ tal:attributes="name python: group[ 0 ];
+ ">
+ <group-role
+ tal:repeat="role python: group[ 1 ]"
+ tal:content="role">ROLE</group-role>
+ </group-map>
<assignment
name="VAR_NAME"
tal:repeat="var state/variables"
More information about the CMF-checkins
mailing list