Mercurial > hg > LGServices
annotate src/main/webapp/componentes/paginator.jsp @ 95:b27a99201cbe
New feature: new full text search with MySQL ngram parser (5.7.6 above)
| author | Calvin Yeh <cyeh@mpipw-berlin.mpg.com> |
|---|---|
| date | Mon, 03 Jul 2017 23:48:53 +0200 |
| parents | 910cfd8521dd |
| children |
| rev | line source |
|---|---|
|
0
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
1 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> |
|
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
2 |
|
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
3 <jsp:useBean id="sessionBean" class="de.mpiwg.web.jsp.SessionBean" scope="session" /> |
|
87
910cfd8521dd
1. Add ?Source? column in Section Page
Calvin Yeh <cyeh@mpipw-berlin.mpg.com>
parents:
39
diff
changeset
|
4 |
|
18
881e7591f3e4
new: adding paginator in books page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
0
diff
changeset
|
5 <% String formName = request.getParameter("formName"); %> |
|
87
910cfd8521dd
1. Add ?Source? column in Section Page
Calvin Yeh <cyeh@mpipw-berlin.mpg.com>
parents:
39
diff
changeset
|
6 |
|
0
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
7 <table style="width: 300px; margin-left: auto;margin-right: auto;"> |
|
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
8 <tr> |
|
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
9 <td> |
|
87
910cfd8521dd
1. Add ?Source? column in Section Page
Calvin Yeh <cyeh@mpipw-berlin.mpg.com>
parents:
39
diff
changeset
|
10 <input |
|
0
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
11 type="image" |
|
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
12 src="<%=sessionBean.getApplicationBean().getPaginatorFirst()%>" |
|
18
881e7591f3e4
new: adding paginator in books page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
0
diff
changeset
|
13 onclick="setAction('firstPage','<%=formName%>');"/> |
|
0
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
14 </td> |
|
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
15 <td> |
|
87
910cfd8521dd
1. Add ?Source? column in Section Page
Calvin Yeh <cyeh@mpipw-berlin.mpg.com>
parents:
39
diff
changeset
|
16 <input |
|
0
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
17 type="image" |
|
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
18 src="<%=sessionBean.getApplicationBean().getPaginatorFr()%>" |
|
18
881e7591f3e4
new: adding paginator in books page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
0
diff
changeset
|
19 onclick="setAction('fastRewind', '<%=formName%>');"/> |
|
0
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
20 </td> |
|
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
21 <td> |
|
87
910cfd8521dd
1. Add ?Source? column in Section Page
Calvin Yeh <cyeh@mpipw-berlin.mpg.com>
parents:
39
diff
changeset
|
22 <input |
|
0
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
23 type="image" |
|
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
24 src="<%=sessionBean.getApplicationBean().getPaginatorPrevious()%>" |
|
18
881e7591f3e4
new: adding paginator in books page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
0
diff
changeset
|
25 onclick="setAction('previousPage', '<%=formName%>');"/> |
|
0
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
26 </td> |
|
18
881e7591f3e4
new: adding paginator in books page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
0
diff
changeset
|
27 <td> |
|
881e7591f3e4
new: adding paginator in books page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
0
diff
changeset
|
28 <% if (formName.equals("booksForm")) { %> |
|
881e7591f3e4
new: adding paginator in books page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
0
diff
changeset
|
29 <%=sessionBean.getBooksPage().getPaginator().getRecordStatus() %> |
|
87
910cfd8521dd
1. Add ?Source? column in Section Page
Calvin Yeh <cyeh@mpipw-berlin.mpg.com>
parents:
39
diff
changeset
|
30 |
|
18
881e7591f3e4
new: adding paginator in books page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
0
diff
changeset
|
31 <% } else if (formName.equals("searchForm")) { %> |
|
881e7591f3e4
new: adding paginator in books page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
0
diff
changeset
|
32 <%=sessionBean.getSearchPage().getPaginator().getRecordStatus() %> |
|
87
910cfd8521dd
1. Add ?Source? column in Section Page
Calvin Yeh <cyeh@mpipw-berlin.mpg.com>
parents:
39
diff
changeset
|
33 |
| 39 | 34 <% } else if (formName.equals("fullTextSearchForm")) { %> |
| 35 <%=sessionBean.getFullTextSearchPage().getPaginator().getRecordStatus() %> | |
|
87
910cfd8521dd
1. Add ?Source? column in Section Page
Calvin Yeh <cyeh@mpipw-berlin.mpg.com>
parents:
39
diff
changeset
|
36 <% } else if (formName.equals("homeForm")) { %> |
|
910cfd8521dd
1. Add ?Source? column in Section Page
Calvin Yeh <cyeh@mpipw-berlin.mpg.com>
parents:
39
diff
changeset
|
37 <%=sessionBean.getHomePage().getPaginator().getRecordStatus() %> |
|
18
881e7591f3e4
new: adding paginator in books page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
0
diff
changeset
|
38 <% } %> |
|
881e7591f3e4
new: adding paginator in books page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
0
diff
changeset
|
39 </td> |
|
0
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
40 <td> |
|
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
41 <input |
|
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
42 type="image" |
|
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
43 src="<%=sessionBean.getApplicationBean().getPaginatorNext()%>" |
|
18
881e7591f3e4
new: adding paginator in books page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
0
diff
changeset
|
44 onclick="setAction('nextPage', '<%=formName%>');"/> |
|
0
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
45 </td> |
|
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
46 <td> |
|
87
910cfd8521dd
1. Add ?Source? column in Section Page
Calvin Yeh <cyeh@mpipw-berlin.mpg.com>
parents:
39
diff
changeset
|
47 <input |
|
0
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
48 type="image" |
|
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
49 src="<%=sessionBean.getApplicationBean().getPaginatorFf()%>" |
|
18
881e7591f3e4
new: adding paginator in books page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
0
diff
changeset
|
50 onclick="setAction('fastForward', '<%=formName%>');"/> |
|
0
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
51 </td> |
|
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
52 <td> |
|
87
910cfd8521dd
1. Add ?Source? column in Section Page
Calvin Yeh <cyeh@mpipw-berlin.mpg.com>
parents:
39
diff
changeset
|
53 <input |
|
910cfd8521dd
1. Add ?Source? column in Section Page
Calvin Yeh <cyeh@mpipw-berlin.mpg.com>
parents:
39
diff
changeset
|
54 src="<%=sessionBean.getApplicationBean().getPaginatorLast()%>" |
|
0
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
55 type="image" |
|
18
881e7591f3e4
new: adding paginator in books page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
0
diff
changeset
|
56 onclick="setAction('lastPage', '<%=formName%>');"/> |
|
0
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
57 </td> |
|
3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
"jurzua <jurzua@mpiwg-berlin.mpg.de>"
parents:
diff
changeset
|
58 </tr> |
|
87
910cfd8521dd
1. Add ?Source? column in Section Page
Calvin Yeh <cyeh@mpipw-berlin.mpg.com>
parents:
39
diff
changeset
|
59 </table> |
