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

Shane Hathaway shane@digicool.com
Wed, 24 Oct 2001 14:26:27 -0400


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

Modified Files:
	transition_properties.dtml 
Log Message:
Added the ability to execute a script after the transition occurred.


=== CMF/DCWorkflow/dtml/transition_properties.dtml 1.1 => 1.2 ===
 
 <tr>
-<th align="left">Script</th>
+<th align="left">Script (before)</th>
 <td>
 <select name="script_name">
 <option value="">(None)</option>
 <dtml-in getAvailableScriptIds sort>
  <dtml-let selected="script_name == _['sequence-item'] and 'selected' or ' '">
+  <option value="&dtml-sequence-item;" &dtml-selected;>&dtml-sequence-item;</option>
+ </dtml-let>
+</dtml-in>
+</select>
+</td>
+</tr>
+
+<tr>
+<th align="left">Script (after)</th>
+<td>
+<select name="after_script_name">
+<option value="">(None)</option>
+<dtml-in getAvailableScriptIds sort>
+ <dtml-let selected="after_script_name == _['sequence-item'] and 'selected' or ' '">
   <option value="&dtml-sequence-item;" &dtml-selected;>&dtml-sequence-item;</option>
  </dtml-let>
 </dtml-in>