Update of /var/cvs/applications/searchrelate/templates
In directory james.mmbase.org:/tmp/cvs-serv8234
Modified Files:
page.jspx
Log Message:
suppor for 'customizedir'
See also: http://cvs.mmbase.org/viewcvs/applications/searchrelate/templates
Index: page.jspx
===================================================================
RCS file: /var/cvs/applications/searchrelate/templates/page.jspx,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- page.jspx 7 Jul 2008 16:34:44 -0000 1.16
+++ page.jspx 8 Jul 2008 11:41:53 -0000 1.17
@@ -9,7 +9,7 @@
Presents a table with one page of query results. Plus paging to other
pages (in tfoot).
Used in ajax-calls, but can also be directly included with mm:include
(for initial results).
@todo Searching only happens in actual mmbase queries now. How about
lucene queries?
- @version $Id: page.jspx,v 1.16 2008/07/07 16:34:44 michiel Exp $
+ @version $Id: page.jspx,v 1.17 2008/07/08 11:41:53 michiel Exp $
-->
<jsp:output omit-xml-declaration="true" />
<mm:import externid="id" required="true" />
@@ -20,6 +20,7 @@
<mm:import externid="pagesize">10</mm:import>
<mm:import externid="maxpages">20</mm:import>
<mm:import externid="offset" vartype="integer">0</mm:import>
+ <mm:import externid="customizedir" />
<mm:listnodescontainer id="b" clone="query" jspvar="bq">
<c:if test="${! empty search}">
@@ -65,12 +66,13 @@
<th class="fields ${field.current.name}"><mm:fieldinfo
type="guiname" /></th>
<mm:last><mm:index write="false" id="colcount" /></mm:last>
</mm:fieldlist>
+ <th class="node action"> </th>
</tr>
</thead>
<!-- PAGING -->
<tfoot class="paging ${size gt pagesize ? 'needed' : 'notneeded'}">
<tr>
- <td colspan="${colcount + 2}">
+ <td colspan="${colcount + 3}">
<mm:previousbatches maxtotal="${maxpages}" indexoffset="1">
<mm:first>
<mm:index>
@@ -96,7 +98,7 @@
<!-- ACTUAL SEARCHRESULT -->
<tbody>
<mm:listnodes varStatus="status">
- <mm:include page="node.tr.jspx" attributes="status,[EMAIL
PROTECTED]" />
+ <mm:include page="node.tr.jspx" attributes="status,[EMAIL
PROTECTED],customizedir?" />
</mm:listnodes>
</tbody>
</table>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs