[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TopicIndex/dtml - addFilteredSet.dtml:1.1.2.3
Andreas Jung
andreas@zope.com
Tue, 16 Oct 2001 10:22:11 -0400
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TopicIndex/dtml
In directory cvs.zope.org:/tmp/cvs-serv11527/dtml
Modified Files:
Tag: ajung-topicindex
addFilteredSet.dtml
Log Message:
added support for customizable FilteredSets
=== Zope/lib/python/Products/PluginIndexes/TopicIndex/dtml/addFilteredSet.dtml 1.1.2.2 => 1.1.2.3 ===
-<form action="manage_delFilteredSet" method="post" enctype="multipart/form-data">
+<form action="&dtml-URL1;/" method="post" enctype="multipart/form-data">
<table cellspacing="0" cellpadding="2" border="1" width="90%" align="center">
<tr>
- <th colspan="4">
+ <th colspan="5">
Existing FilteredSets
</th>
</tr>
@@ -21,6 +21,7 @@
<tr>
<th> </th>
<th>FilterSet Id</th>
+ <th>FilterSet Type</th>
<th>Expression</th>
<th># entries</th>
</tr>
@@ -29,19 +30,25 @@
<dtml-call "REQUEST.set('fs',_['sequence-item'])">
<tr>
- <td>
+ <td align="center">
<input type="checkbox" name="filterIds:list" value="<dtml-var "fs.getId()">">
</td>
- <td align="left" valign="top">
+ <td align="center" valign="top">
<div class="form-label">
- <dtml-var "fs.getId()">
+ <dtml-var getId>
+ </div>
+ </td>
+
+ <td align="center" valign="top">
+ <div class="form-label">
+ <dtml-var getType>
</div>
</td>
<td align="left" valign="top">
<div class="form-label">
- <dtml-var "fs.getExpression()">
+ <dtml-var getExpression>
</div>
</td>
@@ -56,11 +63,11 @@
</dtml-in>
<tr>
- <td colspan="4" align="center">
- <input class="form-element" type="submit" name="submit"
+ <td colspan="5" align="center">
+ <input class="form-element" type="submit" name="manage_delFilteredSet:method"
value=" Remove " />
- <input class="form-element" type="submit" name="button:method"
+ <input class="form-element" type="submit" name="manage_clearFilteredSet:method"
value=" Clear " />
@@ -69,7 +76,7 @@
<dtml-else>
<tr>
- <td colspan="4" align="center">
+ <td colspan="5" align="center">
<em>no FilteredSets defined </em>
</td>
</tr>
@@ -93,6 +100,21 @@
<input type="text" name="filterId" size="40" />
</td>
</tr>
+
+ <tr>
+ <td align="left" valign="top">
+ <div class="form-label">
+ Type of FilteredSet
+ </div>
+ </td>
+ <td align="left" valign="top">
+ <select name="typeFilteredSet">
+ <option value="PythonFilteredSet">PythonFilteredSet
+ </select>
+ </td>
+ </tr>
+
+
<tr>
<td align="left" valign="top">
<div class="form-label">