[Zope-Checkins] CVS: Products/DCOracle2/dtml - ProcedureAdd.dtml:1.5 procview.dtml:1.5

Matthew T. Kromer matt@zope.com
Mon, 13 May 2002 12:56:03 -0400


Update of /cvs-repository/Products/DCOracle2/dtml
In directory cvs.zope.org:/tmp/cvs-serv17503/dtml

Modified Files:
	ProcedureAdd.dtml procview.dtml 
Log Message:
Add patch from Collector #47, default args to stored procedures


=== Products/DCOracle2/dtml/ProcedureAdd.dtml 1.4 => 1.5 ===
 	</tr>
 	<tr>
+	  <th align="LEFT" valign="TOP">Acquire Arguments</th>
+	  <td align="LEFT" valign="TOP">
+            <select name="acquire">
+		<option value="never">Never</option>
+		<option value="request">From REQUEST</option>
+		<option value="always">From REQUEST, then context</option>
+	    </select>
+          </td>
+	</tr>
+	<tr>
 	  <td></td>
 	  <td><br><input type="SUBMIT" value="Add"></td>
 	</tr>


=== Products/DCOracle2/dtml/procview.dtml 1.4 => 1.5 ===
           </td>
 	</tr>
+
+	<tr>
+	  <th align="LEFT" valign="TOP">Acquire Arguments</th>
+	  <dtml-let aq="ZSPAcquireType()">
+
+	  <td align="LEFT" valign="TOP">
+	  	<select name="acquire">
+			<dtml-if "aq == 'never'">
+			<option value="never" SELECTED>Never</option>
+			<dtml-else>
+			<option value="never">Never</option>
+			</dtml-if>
+			<dtml-if "aq == 'request'">
+			<option value="request" SELECTED>From REQUEST</option>
+			<dtml-else>
+			<option value="request">From REQUEST</option>
+			</dtml-if>
+			<dtml-if "aq == 'always'">
+			<option value="always" SELECTED>From REQUEST, then context</option>
+			<dtml-else>
+			<option value="always">From REQUEST, then context</option>
+			</dtml-if>
+		</select>
+          </td>
+	  </dtml-let>
+	</tr>
+
+
 	<tr>
 	  <th align="LEFT" valign="TOP"><em>Procedure Description</em></th>
 	  <td>