/[volute]/trunk/projects/theory/snapdm/webapp/simdb-browser/web/list/ListHeader.jsp
ViewVC logotype

Contents of /trunk/projects/theory/snapdm/webapp/simdb-browser/web/list/ListHeader.jsp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 680 - (show annotations)
Wed Jul 9 22:05:49 2008 UTC (12 years, 4 months ago) by bourges.laurent
File size: 1451 byte(s)
many new tags to get meta, display references & collections using listGeneric.jsp
1 <%@page contentType="text/html" session="false" pageEncoding="UTF-8"%>
2 <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
3 <%@ taglib tagdir="/WEB-INF/tags" prefix="x" %>
4
5 <c:set var="cursor" value="${requestScope.cursor}" ></c:set>
6
7 <p>
8 <b>${cursor.maxPos} [
9 <x:getMeta name="${requestScope.entity.name}" var="meta">
10 <span class="tooltipTrigger" title="&lt;h4&gt;${meta.type.name}&lt;/h4&gt;${meta.type.description}">${meta.type.name}</span>
11 </x:getMeta>
12 ] records found for Query :</b>
13
14 <br/>
15 <code><br/>${cursor.query}<br/></code>
16 <c:choose>
17 <c:when test="${cursor.doQuery}">
18 <form method="get" action="List.do">
19 <input type="hidden" name="entity" value="${requestScope.entity.name}"/>
20 <input type="hidden" name="start" value="0"/>
21 <textarea name="queryClause" cols="80" rows="5">${cursor.queryClause}</textarea>
22 <br/>
23 <input type="submit"/>
24 </form>
25 <br/>
26 </c:when>
27 </c:choose>
28 </p>
29
30 <c:if test="${cursor.prevPos != -1}">
31 <span style="float:left;">
32 <a href="List.do?entity=${requestScope.entity.name}&amp;start=${cursor.prevPos}" title="go to previous page">&lt;&lt; Previous Page</a>
33 </span>
34 </c:if>
35
36 <c:if test="${cursor.nextPos != -1}">
37 <span style="float:right;">
38 <a href="List.do?entity=${requestScope.entity.name}&amp;start=${cursor.nextPos}" title="go to next page">Next Page &gt;&gt;</a>
39 </span>
40 </c:if>
41
42 <br/>

msdemlei@ari.uni-heidelberg.de
ViewVC Help
Powered by ViewVC 1.1.26