Update of /var/cvs/contributions/lucene/templates
In directory james.mmbase.org:/tmp/cvs-serv7528

Modified Files:
        index.jspx 
Log Message:
LUCENE-13


See also: http://cvs.mmbase.org/viewcvs/contributions/lucene/templates
See also: http://www.mmbase.org/jira/browse/LUCENE-13


Index: index.jspx
===================================================================
RCS file: /var/cvs/contributions/lucene/templates/index.jspx,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- index.jspx  28 Jul 2008 13:11:22 -0000      1.35
+++ index.jspx  28 Jul 2008 13:13:32 -0000      1.36
@@ -217,26 +217,29 @@
               </mm:link>
             </td>
           </tr>
-          <c:if test="${fn:length(machines) gt 1}">
+          <mm:listnodescontainer type="mmservers">
+            <mm:constraint field="state" value="active" />
+            <mm:size>
+              <mm:isgreaterthan value="1">
             <tr>
               <th>Full index commands work on</th>
               <td>
                 <form>
                   <select multiple="multiple" 
name="org.mmbase.lucene.admin.machines">
-                    <mm:listnodescontainer type="mmservers">
-                      <mm:constraint field="state" value="active" />
+
                       <mm:listnodes>
                         <mm:option value="${_node.name}" 
compareset="${machines}">
                           <mm:field name="name" />
                         </mm:option>
                       </mm:listnodes>
-                    </mm:listnodescontainer>
                   </select>
                   <input type="submit" name="submit_machines" value="Change" />
                 </form>
               </td>
             </tr>
-          </c:if>
+              </mm:isgreaterthan>
+            </mm:size>
+          </mm:listnodescontainer>
           <tr>
             <th>Queue</th>
             <td>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to