[CMF-checkins] CVS: CMF/CMFSetup/xml - wtcWorkflowExport.xml:1.9

Tres Seaver tseaver at zope.com
Thu Jun 24 13:59:06 EDT 2004


Update of /cvs-repository/CMF/CMFSetup/xml
In directory cvs.zope.org:/tmp/cvs-serv28064/xml

Modified Files:
	wtcWorkflowExport.xml 
Log Message:


  - workflow.py:

    o Morph output for state variables to include type (so that we can
      reconstruct non-string values on import).

    o Add import for DCWorkflow attributes, variables, states.

  - xml/wtcWorkflowExport.xml:

    o Morph output for state variables to include type (so that we can
      reconstruct non-string values on import).


=== CMF/CMFSetup/xml/wtcWorkflowExport.xml 1.8 => 1.9 ===
--- CMF/CMFSetup/xml/wtcWorkflowExport.xml:1.8	Wed Jun 16 00:28:28 2004
+++ CMF/CMFSetup/xml/wtcWorkflowExport.xml	Thu Jun 24 13:59:06 2004
@@ -50,9 +50,12 @@
   </group-map>
   <assignment
         name="VAR_NAME"
+        type="VAR_TYPE"
         tal:repeat="var state/variables"
-        tal:attributes="name python: var[0]"
-        tal:content="python: var[1]">VALUE</assignment>
+        tal:attributes="name var/name;
+                        type var/type;
+                       "
+        tal:content="var/value">VALUE</assignment>
  </state>
  <transition
         transition_id="Publish"
@@ -96,8 +99,8 @@
   <assignment
         name="VAR_NAME"
         tal:repeat="var transition/variables"
-        tal:attributes="name python:var[0]"
-        tal:content="python:var[1]">EXPRESSION</assignment>
+        tal:attributes="name var/name"
+        tal:content="var/expr">EXPRESSION</assignment>
  </transition>
  <worklist
         worklist_id="reviewer_queue"



More information about the CMF-checkins mailing list