[CMF-checkins] CVS: CMF/DCWorkflow/dtml - variable_properties.dtml:1.2

Shane Hathaway shane@digicool.com
Tue, 30 Oct 2001 10:37:37 -0500


Update of /cvs-repository/CMF/DCWorkflow/dtml
In directory cvs.zope.org:/tmp/cvs-serv11053/dtml

Modified Files:
	variable_properties.dtml 
Log Message:
Some variables should be updated with every transition, some shouldn't.
Added a per-variable configuration option.


=== CMF/DCWorkflow/dtml/variable_properties.dtml 1.1 => 1.2 ===
 <th align="left">
   <div class="form-label">
+  Variable update mode
+  </div>
+</th>
+<td>
+  <div class="form-element">
+   <select name="update_always">
+   <dtml-let checked="update_always and ' ' or 'selected'">
+    <option value="" &dtml-checked;>Update only when the transition or
+     new state specifies a new value</option>
+   </dtml-let>
+   <dtml-let checked="update_always and 'selected' or ' '">
+    <option value="1" &dtml-checked;>Update on every transition</option>
+   </dtml-let>
+  </div>
+</td>
+</tr>
+
+<tr>
+<th align="left">
+  <div class="form-label">
   Default value
   </div>
 </th>