diff src/main/webapp/componentes/paginator.jsp @ 0:3e62083dbcbf

First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
author "jurzua <jurzua@mpiwg-berlin.mpg.de>"
date Thu, 23 Apr 2015 15:46:01 +0200
parents
children 881e7591f3e4
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/webapp/componentes/paginator.jsp	Thu Apr 23 15:46:01 2015 +0200
@@ -0,0 +1,47 @@
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
+
+<jsp:useBean id="sessionBean" class="de.mpiwg.web.jsp.SessionBean" scope="session" />
+		
+		
+		
+		<table style="width: 300px; margin-left: auto;margin-right: auto;">
+			<tr>
+				<td>
+					<input 
+						type="image"
+						src="<%=sessionBean.getApplicationBean().getPaginatorFirst()%>"
+						onclick="setAction('firstPage', 'searchForm');"/>
+				</td>
+				<td>
+					<input 				
+						type="image"
+						src="<%=sessionBean.getApplicationBean().getPaginatorFr()%>"
+						onclick="setAction('fastRewind', 'searchForm');"/>
+				</td>
+				<td>
+					<input 				
+						type="image"
+						src="<%=sessionBean.getApplicationBean().getPaginatorPrevious()%>"
+						onclick="setAction('previousPage', 'searchForm');"/>
+				</td>
+				<td><%=sessionBean.getSearchPage().getPaginator().getRecordStatus()%></td>
+				<td>
+					<input 				
+						type="image"
+						src="<%=sessionBean.getApplicationBean().getPaginatorNext()%>"
+						onclick="setAction('nextPage', 'searchForm');"/>
+				</td>
+				<td>
+					<input 				
+						type="image"
+						src="<%=sessionBean.getApplicationBean().getPaginatorFf()%>"
+						onclick="setAction('fastForward', 'searchForm');"/>
+				</td>
+				<td>
+					<input 	
+						src="<%=sessionBean.getApplicationBean().getPaginatorLast()%>"						
+						type="image"
+						onclick="setAction('lastPage', 'searchForm');"/>
+				</td>
+			</tr>
+		</table>
\ No newline at end of file