Mercurial > hg > LGServices
view src/main/webapp/componentes/paginator.jsp @ 72:8fd847fbbe8f
for ssl protocol
author | Calvin Yeh <cyeh@mpipw-berlin.mpg.com> |
---|---|
date | Thu, 23 Mar 2017 19:41:45 +0100 |
parents | 37840afb7b80 |
children | 910cfd8521dd |
line wrap: on
line source
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <jsp:useBean id="sessionBean" class="de.mpiwg.web.jsp.SessionBean" scope="session" /> <% String formName = request.getParameter("formName"); %> <table style="width: 300px; margin-left: auto;margin-right: auto;"> <tr> <td> <input type="image" src="<%=sessionBean.getApplicationBean().getPaginatorFirst()%>" onclick="setAction('firstPage','<%=formName%>');"/> </td> <td> <input type="image" src="<%=sessionBean.getApplicationBean().getPaginatorFr()%>" onclick="setAction('fastRewind', '<%=formName%>');"/> </td> <td> <input type="image" src="<%=sessionBean.getApplicationBean().getPaginatorPrevious()%>" onclick="setAction('previousPage', '<%=formName%>');"/> </td> <td> <% if (formName.equals("booksForm")) { %> <%=sessionBean.getBooksPage().getPaginator().getRecordStatus() %> <% } else if (formName.equals("searchForm")) { %> <%=sessionBean.getSearchPage().getPaginator().getRecordStatus() %> <% } else if (formName.equals("fullTextSearchForm")) { %> <%=sessionBean.getFullTextSearchPage().getPaginator().getRecordStatus() %> <% } %> </td> <td> <input type="image" src="<%=sessionBean.getApplicationBean().getPaginatorNext()%>" onclick="setAction('nextPage', '<%=formName%>');"/> </td> <td> <input type="image" src="<%=sessionBean.getApplicationBean().getPaginatorFf()%>" onclick="setAction('fastForward', '<%=formName%>');"/> </td> <td> <input src="<%=sessionBean.getApplicationBean().getPaginatorLast()%>" type="image" onclick="setAction('lastPage', '<%=formName%>');"/> </td> </tr> </table>