[CMF-checkins] CVS: CMF - extensionWidget.dtml:1.1 majorMinorWidget.dtml:1.1 patternWidget.dtml:1.2 registryPredList.dtml:1.2
tseaver@digicool.com
tseaver@digicool.com
Sat, 26 May 2001 00:36:24 -0400 (EDT)
Update of /cvs-repository/CMF/CMFCore/dtml
In directory korak.digicool.com:/tmp/cvs-serv24297/dtml
Modified Files:
patternWidget.dtml registryPredList.dtml
Added Files:
extensionWidget.dtml majorMinorWidget.dtml
Log Message:
- Pretty close for the specification UI; still need to wire up the PUT_factory.
--- Added File extensionWidget.dtml in package CMF ---
<dtml-comment>
This snippet is designed to be included in a larger method; it
provides input elements for a predicate which tests filename
extensions.
</dtml-comment>
<strong> Extensions: </strong
<input type="hidden"
name="predicate.id:record"
value="&dtml-getId;">
<input type="text"
name="predicate.extensions:record"
value="&dtml-getExtensions;">
<em> One or more filename extensions. </em>
--- Added File majorMinorWidget.dtml in package CMF ---
<dtml-comment>
This snippet is designed to be included in a larger method; it
provides input elements for a predicate which is based on major/minor
content type patterns.
</dtml-comment>
<strong> Content type: </strong
<input type="hidden"
name="predicate.id:record"
value="&dtml-getId;">
<input type="text"
name="predicate.major:record"
value="&dtml-getMajorType;"
size="8">
/
<input type="text"
name="predicate.minor:record"
value="&dtml-getMinorType;"
size="8">
<em> Major/minor content type (blank for all). </em>
--- Updated File patternWidget.dtml in package CMF --
--- patternWidget.dtml 2001/05/26 02:56:42 1.1
+++ patternWidget.dtml 2001/05/26 04:35:53 1.2
@@ -3,9 +3,11 @@
provides input elements for a predicate which is based on regular
expressions.
</dtml-comment>
+<strong> Pattern: </strong
<input type="hidden"
name="predicate.id:record"
value="&dtml-getId;">
<input type="text"
name="predicate.pattern:record"
value="&dtml-getPatternStr;">
+<em> Enter a regular expression. </em>
--- Updated File registryPredList.dtml in package CMF --
--- registryPredList.dtml 2001/05/26 02:56:42 1.1
+++ registryPredList.dtml 2001/05/26 04:35:53 1.2
@@ -8,15 +8,19 @@
<dtml-let item=sequence-item
pred="item[0]"
typName="item[1]"
+ predType="pred.getTypeLabel()"
>
<tr valign="top">
- <th align="right"> &dtml-sequence-key;: <th>
+ <th align="left"> &dtml-sequence-key;
+ <br> [&dtml-predType;]:
+ <th>
<td align="left">
<form action="&dtml-absolute_url;">
<dtml-with expr="pred">
<dtml-var predicateWidget>
<input type="hidden" name="predicate_id" value="&dtml-getId;">
</dtml-with>
+ <br>
<dtml-with portal_types>
<select name="typeObjectName">
<dtml-in listContentTypes>
@@ -30,6 +34,8 @@
</dtml-with>
<input type="submit" name="doUpdatePredicate:method" value=" Change ">
<input type="submit" name="doRemovePredicate:method" value=" Delete ">
+ <input type="submit" name="doMovePredicateUp:method" value=" Up ">
+ <input type="submit" name="doMovePredicateDown:method" value=" Down ">
</form>
</td>
<td> <br> </td>