Mercurial > hg > LGServices
annotate src/main/webapp/pages/fullTextSearch.jsp @ 87:910cfd8521dd
1. Add ?Source? column in Section Page
2. Add pagination in Section Page
author | Calvin Yeh <cyeh@mpipw-berlin.mpg.com> |
---|---|
date | Fri, 19 May 2017 20:12:34 +0200 |
parents | dd2fcc5f5deb |
children | b27a99201cbe |
rev | line source |
---|---|
39 | 1 <%@page import="org.apache.commons.lang.StringUtils"%> |
2 <%@page import="de.mpiwg.gazetteer.db.DBContents"%> | |
3 <%@page import="de.mpiwg.gazetteer.bo.LGFullTextSearchFile"%> | |
4 | |
5 | |
6 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
7 | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
8 <jsp:useBean id="sessionBean" class="de.mpiwg.web.jsp.SessionBean" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
9 scope="session" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
10 |
39 | 11 |
12 <html> | |
13 | |
14 <head> | |
15 | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
16 <jsp:include page="../componentes/headContent.jsp" /> |
39 | 17 |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
18 <script> |
51
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
19 |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
20 |
39 | 21 $(function() { |
22 $( "#dialogMoreInfo" ).dialog({ | |
23 autoOpen: false, | |
24 modal: true, | |
25 position: { my: "center", at: "top", of: window }, | |
26 | |
27 }); | |
28 | |
29 var dialogSave = $("#dialogSave").dialog( | |
51
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
30 { |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
31 autoOpen: false, |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
32 position: { my: "left+100px", at: "top", of: $("#saveResult") }, |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
33 } |
39 | 34 ); |
35 $("#saveResult").button().on( "click", function() { | |
36 // append searchTerm into the form | |
37 $('<input>').attr({ | |
38 type: 'hidden', | |
39 name: 'searchTerm', | |
40 value: $("#searchTerm").val() | |
41 }).appendTo('form[name="saveTableForm"]'); | |
42 | |
54
a00efd5d9e77
new: adding delete saved table function
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
52
diff
changeset
|
43 if ($("#fileName").val() == "") { |
a00efd5d9e77
new: adding delete saved table function
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
52
diff
changeset
|
44 $("#fileName").val($("#searchTerm").val()); // set the default table name to be the searched term if no fileName |
a00efd5d9e77
new: adding delete saved table function
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
52
diff
changeset
|
45 } |
39 | 46 |
47 dialogSave.dialog( "open" ); | |
48 }); | |
49 | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
50 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
51 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
52 $("#prompToSaveResult").click( function () { |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
53 $("#saveResult").click(); |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
54 }); |
58
b8ad346e39a0
new: modify based on doc 'Improving LGServices interface.docx': user workflow improvement, functions like adding task into a topic and search suggestions.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
57
diff
changeset
|
55 |
b8ad346e39a0
new: modify based on doc 'Improving LGServices interface.docx': user workflow improvement, functions like adding task into a topic and search suggestions.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
57
diff
changeset
|
56 |
39 | 57 var dialogViewSavedResult = $("#dialogViewSavedResult").dialog( |
51
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
58 { |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
59 autoOpen: false, |
55
95bf4ac726e6
Topic synchronization with extraction-interface. new tables in LGService database
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
54
diff
changeset
|
60 //position: { my: "left+100px", at: "top", of: $("#viewSavedResult") }, |
95bf4ac726e6
Topic synchronization with extraction-interface. new tables in LGService database
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
54
diff
changeset
|
61 position: { my: "center", at: "top+200px", of: $("#viewSavedResult") }, // TODO |
95bf4ac726e6
Topic synchronization with extraction-interface. new tables in LGService database
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
54
diff
changeset
|
62 width: "850px", |
51
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
63 } |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
64 ); |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
65 var dialogViewSavedResult2 = $("#dialogViewSavedResult2").dialog( |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
66 { |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
67 autoOpen: false, |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
68 //position: { my: "left+100px", at: "top", of: $("#viewSavedResult") }, |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
69 position: { my: "center", at: "top+200px", of: $("#viewSavedResult2") }, |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
70 width: 600, height: 1000 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
71 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
72 } |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
73 ); |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
74 |
39 | 75 $("#viewSavedResult").button().on( "click", function() { |
76 dialogViewSavedResult.dialog( "open" ); | |
77 }); | |
78 | |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
79 $("#viewSavedResult2").button().on( "click", function() { |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
80 dialogViewSavedResult2.dialog( "open" ); |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
81 }); |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
82 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
83 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
84 |
59
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
85 $("#bookIdFilter").autocomplete({ |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
86 source : function(request, response) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
87 $.ajax({ |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
88 url : "<%=sessionBean.getApplicationBean().getRootServer()%>/methods/fullTextSearchBookIdAutocomplete.jsp", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
89 type : "POST", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
90 dataType : "json", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
91 data : { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
92 term : request.term |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
93 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
94 success : function(data) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
95 response($.map(data, function(item) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
96 return { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
97 label : item.name, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
98 value : item.value, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
99 } |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
100 })); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
101 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
102 error : function(error) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
103 alert('error: ' + error); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
104 } |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
105 }); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
106 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
107 minLength : 0 |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
108 }); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
109 $("#bookNameFilter").autocomplete({ |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
110 source : function(request, response) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
111 $.ajax({ |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
112 url : "<%=sessionBean.getApplicationBean().getRootServer()%>/methods/fullTextSearchBookNameAutocomplete.jsp", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
113 type : "POST", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
114 dataType : "json", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
115 data : { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
116 term : request.term |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
117 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
118 success : function(data) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
119 response($.map(data, function(item) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
120 return { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
121 label : item.name, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
122 value : item.value, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
123 } |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
124 })); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
125 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
126 error : function(error) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
127 alert('error: ' + error); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
128 } |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
129 }); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
130 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
131 minLength : 0 |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
132 }); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
133 $("#level1Filter").autocomplete({ |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
134 source : function(request, response) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
135 $.ajax({ |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
136 url : "<%=sessionBean.getApplicationBean().getRootServer()%>/methods/fullTextSearchLevel1Autocomplete.jsp", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
137 type : "POST", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
138 dataType : "json", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
139 data : { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
140 term : request.term |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
141 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
142 success : function(data) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
143 response($.map(data, function(item) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
144 return { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
145 label : item.name, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
146 value : item.value, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
147 } |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
148 })); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
149 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
150 error : function(error) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
151 alert('error: ' + error); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
152 } |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
153 }); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
154 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
155 minLength : 0 |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
156 }); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
157 $("#level2Filter").autocomplete({ |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
158 source : function(request, response) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
159 $.ajax({ |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
160 url : "<%=sessionBean.getApplicationBean().getRootServer()%>/methods/fullTextSearchLevel2Autocomplete.jsp", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
161 type : "POST", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
162 dataType : "json", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
163 data : { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
164 term : request.term |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
165 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
166 success : function(data) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
167 response($.map(data, function(item) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
168 return { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
169 label : item.name, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
170 value : item.value, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
171 } |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
172 })); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
173 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
174 error : function(error) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
175 alert('error: ' + error); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
176 } |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
177 }); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
178 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
179 minLength : 0 |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
180 }); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
181 $("#dynastyFilter").autocomplete({ |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
182 source : function(request, response) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
183 $.ajax({ |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
184 url : "<%=sessionBean.getApplicationBean().getRootServer()%>/methods/fullTextSearchDynastyAutocomplete.jsp", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
185 type : "POST", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
186 dataType : "json", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
187 data : { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
188 term : request.term |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
189 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
190 success : function(data) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
191 response($.map(data, function(item) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
192 return { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
193 label : item.name, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
194 value : item.value, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
195 } |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
196 })); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
197 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
198 error : function(error) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
199 alert('error: ' + error); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
200 } |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
201 }); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
202 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
203 minLength : 0 |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
204 }); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
205 $("#periodFilter").autocomplete({ |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
206 source : function(request, response) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
207 $.ajax({ |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
208 url : "<%=sessionBean.getApplicationBean().getRootServer()%>/methods/fullTextSearchPeriodAutocomplete.jsp", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
209 type : "POST", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
210 dataType : "json", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
211 data : { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
212 term : request.term |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
213 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
214 success : function(data) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
215 response($.map(data, function(item) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
216 return { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
217 label : item.name, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
218 value : item.value, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
219 } |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
220 })); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
221 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
222 error : function(error) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
223 alert('error: ' + error); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
224 } |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
225 }); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
226 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
227 minLength : 0 |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
228 }); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
229 $("#adminTypeFilter").autocomplete({ |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
230 source : function(request, response) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
231 $.ajax({ |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
232 url : "<%=sessionBean.getApplicationBean().getRootServer()%>/methods/fullTextSearchAdminTypeAutocomplete.jsp", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
233 type : "POST", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
234 dataType : "json", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
235 data : { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
236 term : request.term |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
237 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
238 success : function(data) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
239 response($.map(data, function(item) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
240 return { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
241 label : item.name, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
242 value : item.value, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
243 } |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
244 })); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
245 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
246 error : function(error) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
247 alert('error: ' + error); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
248 } |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
249 }); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
250 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
251 minLength : 0 |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
252 }); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
253 $("#sectionNameFilter").autocomplete({ |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
254 source : function(request, response) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
255 $.ajax({ |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
256 url : "<%=sessionBean.getApplicationBean().getRootServer()%>/methods/fullTextSearchSectionNameAutocomplete.jsp", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
257 type : "POST", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
258 dataType : "json", |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
259 data : { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
260 term : request.term |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
261 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
262 success : function(data) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
263 response($.map(data, function(item) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
264 return { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
265 label : item.name, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
266 value : item.value, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
267 } |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
268 })); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
269 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
270 error : function(error) { |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
271 alert('error: ' + error); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
272 } |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
273 }); |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
274 }, |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
275 minLength : 0 |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
276 }); |
39 | 277 |
278 }); | |
279 | |
280 // enter pressed event, we don't want to always go to "search". | |
281 $(document).keypress( | |
282 function(event){ | |
283 if (event.which == '13') { // enter pressed | |
284 // if any of the filter fields is filled in, filter first; otherwize, go to search | |
285 $(".filterInput" ).each(function( i ) { | |
286 //console.log( this.value ); | |
287 if (this.value != "") { | |
288 //console.log('filtering' + i); | |
289 setAction('filter', 'fullTextSearchForm'); | |
290 $("#fullTextSearchForm").submit(); | |
291 return false; | |
292 } | |
293 | |
294 }); | |
295 } | |
296 }); | |
297 | |
51
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
298 function setMousePos(){ |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
299 var x = event.clientX; |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
300 var y = event.clientY; |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
301 $("#mouseX").val(x); |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
302 $("#mouseY").val(y); |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
303 } |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
304 |
39 | 305 $(document).ready(function(){ |
306 highlightKeywords(); | |
51
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
307 scrollPage(); |
39 | 308 }) |
309 | |
51
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
310 function scrollPage() { |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
311 var id = $("#focusedId").val(); |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
312 if (id == undefined || $("#content_"+id).offset() == undefined) return; |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
313 |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
314 //$('html,body').animate({scrollTop: $("#content_"+id).offset().top}, 'fast'); |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
315 |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
316 var x = $("#mouseX").val(); |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
317 var y = $("#mouseY").val(); |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
318 var offsetInElement = $("#content_"+id).height() / 2; |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
319 |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
320 //console.log("y: " + y + ", top: " + $("#content_"+id).offset().top + ", offsetInElement: " + offsetInElement); |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
321 if (y == undefined) return; |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
322 |
52
fc4ee9cc587b
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
51
diff
changeset
|
323 //$('html,body').animate({scrollTop: $("#content_"+id).offset().top - y + offsetInElement}, 'fast'); |
fc4ee9cc587b
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
51
diff
changeset
|
324 $('html,body').scrollTop($("#content_"+id).offset().top - y + offsetInElement); |
fc4ee9cc587b
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
51
diff
changeset
|
325 |
51
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
326 } |
cf747a960516
new: auto scroll to the last position when de/selecting rows, and add number of selected rows info, in full text search page
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
50
diff
changeset
|
327 |
39 | 328 function highlightKeywords() // highlight keywords in content column, with class="content" |
329 { | |
330 if ($("#searchTerm")[0] == undefined ){ | |
331 return; | |
332 } | |
333 var keywords = $("#searchTerm")[0].value; | |
334 var keywordsArray = keywords.split(", "); | |
335 //console.log("keywordsArray: "+keywordsArray); | |
336 | |
337 var content = $(".content"); | |
338 for (var i = 0; i < content.length; i++) { | |
339 // find keywords in content[i] | |
340 var text = content[i].innerHTML; | |
341 for (var j = 0; j < keywordsArray.length; j++) { | |
342 var index = text.indexOf(keywordsArray[j]); | |
343 if (index >= 0) { | |
344 text = text.substring(0,index) + "<span class='highlight'>" + text.substring(index, index+keywordsArray[j].length) + "</span>" + text.substring(index+keywordsArray[j].length); | |
345 content[i].innerHTML = text; | |
346 } | |
347 }; | |
348 | |
349 }; | |
350 } | |
351 | |
59
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
352 |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
353 |
bc0219c2600b
new: minor improvements
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
58
diff
changeset
|
354 |
39 | 355 </script> |
356 </head> | |
357 | |
358 <body> | |
359 | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
360 <jsp:include page="../componentes/template.jsp" /> |
39 | 361 |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
362 <div id="dialogMoreInfo" title="Full Text Search Details"></div> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
363 |
39 | 364 <div id="page"> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
365 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
366 <% |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
367 if (sessionBean.getUser() == null) { |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
368 %> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
369 <label class="subTitel">You must login!</label> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
370 <% |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
371 } else { |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
372 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
373 if (sessionBean.getFullTextSearchPage().getFileList() == null) { |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
374 sessionBean.getFullTextSearchPage().loadParameters(request, |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
375 response); |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
376 sessionBean.getFullTextSearchPage().forceLoadFileList(); |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
377 } |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
378 %> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
379 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
380 <div id="dialogSave" title="Save Table:"> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
381 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
382 <form name="saveTableForm" id="saveTableForm" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
383 action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
384 method="post"> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
385 <input name="bean" type="hidden" value="fullTextSearchBean" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
386 <table> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
387 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
388 <td><input id="fileName" name="fileName" type="text" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
389 placeholder="table name" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
390 value="<%=sessionBean.getFullTextSearchPage().getFileName()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
391 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
392 <td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
393 <button |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
394 onclick="setAction('save', 'saveTableForm'); document.getElementById('saveTableForm').submit();">Save |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
395 All</button> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
396 |
67
0a9937b06cc3
save full text search table (filtered)
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
62
diff
changeset
|
397 <button |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
398 onclick="setAction('saveFiltered', 'saveTableForm'); document.getElementById('saveTableForm').submit();">Save |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
399 Filtered</button> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
400 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
401 </td> |
54
a00efd5d9e77
new: adding delete saved table function
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
52
diff
changeset
|
402 </tr> |
a00efd5d9e77
new: adding delete saved table function
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
52
diff
changeset
|
403 </table> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
404 </form> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
405 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
406 </div> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
407 |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
408 |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
409 <div id="dialogViewSavedResult" title="Saved Table(s)"> |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
410 |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
411 <div class="label">This week:</div> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
412 <table class="savedResultTable"> |
55
95bf4ac726e6
Topic synchronization with extraction-interface. new tables in LGService database
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
54
diff
changeset
|
413 <tr> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
414 <% |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
415 for (LGFullTextSearchFile aFile : sessionBean |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
416 .getFullTextSearchPage().getWeekFileList()) { |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
417 %> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
418 <td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
419 <div><%=aFile.getFileName()%></div> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
420 <button type="button" class="lgButton" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
421 onclick="setAction0('loadFile', 'fullTextSearchForm', 'fileId', <%=aFile.getId()%>); document.getElementById('fullTextSearchForm').submit();">load</button> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
422 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
423 <!-- getFullTextSearchFileText?fileId= &userId= --> <!-- click searching result to open it in the same table of full-text-search result --> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
424 <a |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
425 href="<%=sessionBean.getApplicationBean().getRootServer()%>/rest/text/getFullTextSearchHtmlFile?fileId=<%=aFile.getId()%>" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
426 target="_blank"> <img title="Show text in html" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
427 src="<%=sessionBean.getApplicationBean().getShowImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
428 </a> <!-- download csv file --> <a |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
429 href="<%=sessionBean.getApplicationBean().getRootServer()%>/rest/text/downloadFullTextSearchCsvFile?file=<%=aFile.getUserId().toString()%>_<%=aFile.getFileName()%>.csv" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
430 target="_blank"> <img title="Download CSV" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
431 src="<%=sessionBean.getApplicationBean() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
432 .getDownloadImage()%>" /> |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
433 </a> <!-- view on LGMap --> <!-- |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
434 href="<%=sessionBean.getApplicationBean().getLGMapUrl()%>&file=<%=aFile.getUserId().toString()%>_<%=aFile.getFileName()%>.csv&name=<%=aFile.getFileName()%>" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
435 Use file name instead as the name in the link to LGMap. |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
436 --> <a |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
437 href="<%=sessionBean.getApplicationBean().getLGMapUrl()%>&file=<%=aFile.getUserId().toString()%>_<%=aFile.getFileName()%>.csv&name=<%=aFile.getFileName()%>" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
438 target="_blank"> <img title="View on LGMap" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
439 src="<%=sessionBean.getApplicationBean().getViewOnMap()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
440 </a> <input type="image" title="Delete it" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
441 onclick="<%=sessionBean.getApplicationBean() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
442 .getJSConfirmationDelete()%> setAction0('deleteFile', 'fullTextSearchForm', 'fileId','<%=aFile.getId()%>'); document.getElementById('fullTextSearchForm').submit();" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
443 src="<%=sessionBean.getApplicationBean().getDeleteImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
444 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
445 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
446 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
447 <% |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
448 } |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
449 %> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
450 </tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
451 </table> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
452 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
453 <div class="label">This month:</div> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
454 <table class="savedResultTable"> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
455 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
456 <% |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
457 for (LGFullTextSearchFile aFile : sessionBean.getFullTextSearchPage().getMonthFileList()) { |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
458 %> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
459 <td> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
460 <div><%=aFile.getFileName()%></div> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
461 <button type="button" class="lgButton" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
462 onclick="setAction0('loadFile', 'fullTextSearchForm', 'fileId', <%=aFile.getId()%>); document.getElementById('fullTextSearchForm').submit();">load</button> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
463 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
464 <!-- getFullTextSearchFileText?fileId= &userId= --> <!-- click searching result to open it in the same table of full-text-search result --> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
465 <a |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
466 href="<%=sessionBean.getApplicationBean().getRootServer()%>/rest/text/getFullTextSearchHtmlFile?fileId=<%=aFile.getId()%>" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
467 target="_blank"> <img title="Show text in html" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
468 src="<%=sessionBean.getApplicationBean().getShowImage()%>" /> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
469 </a> <!-- download csv file --> <a |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
470 href="<%=sessionBean.getApplicationBean().getRootServer()%>/rest/text/downloadFullTextSearchCsvFile?file=<%=aFile.getUserId().toString()%>_<%=aFile.getFileName()%>.csv" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
471 target="_blank"> <img title="Download CSV" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
472 src="<%=sessionBean.getApplicationBean() |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
473 .getDownloadImage()%>" /> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
474 </a> <!-- view on LGMap --> <a |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
475 href="<%=sessionBean.getApplicationBean().getLGMapUrl()%>&file=<%=aFile.getUserId().toString()%>_<%=aFile.getFileName()%>.csv&name=<%=aFile.getFileName()%>" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
476 target="_blank"> <img title="View on LGMap" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
477 src="<%=sessionBean.getApplicationBean().getViewOnMap()%>" /> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
478 </a> <input type="image" title="Delete it" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
479 onclick="<%=sessionBean.getApplicationBean() |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
480 .getJSConfirmationDelete()%> setAction0('deleteFile', 'fullTextSearchForm', 'fileId','<%=aFile.getId()%>'); document.getElementById('fullTextSearchForm').submit();" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
481 src="<%=sessionBean.getApplicationBean().getDeleteImage()%>" /> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
482 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
483 </td> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
484 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
485 <% } %> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
486 </tr> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
487 </table> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
488 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
489 <div class="label">Older...</div> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
490 <table class="savedResultTable"> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
491 <tr> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
492 <% |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
493 for (LGFullTextSearchFile aFile : sessionBean.getFullTextSearchPage().getOlderFileList()) { |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
494 %> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
495 <td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
496 <div><%=aFile.getFileName()%></div> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
497 <button type="button" class="lgButton" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
498 onclick="setAction0('loadFile', 'fullTextSearchForm', 'fileId', <%=aFile.getId()%>); document.getElementById('fullTextSearchForm').submit();">load</button> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
499 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
500 <!-- getFullTextSearchFileText?fileId= &userId= --> <!-- click searching result to open it in the same table of full-text-search result --> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
501 <a |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
502 href="<%=sessionBean.getApplicationBean().getRootServer()%>/rest/text/getFullTextSearchHtmlFile?fileId=<%=aFile.getId()%>" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
503 target="_blank"> <img title="Show text in html" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
504 src="<%=sessionBean.getApplicationBean().getShowImage()%>" /> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
505 </a> <!-- download csv file --> <a |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
506 href="<%=sessionBean.getApplicationBean().getRootServer()%>/rest/text/downloadFullTextSearchCsvFile?file=<%=aFile.getUserId().toString()%>_<%=aFile.getFileName()%>.csv" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
507 target="_blank"> <img title="Download CSV" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
508 src="<%=sessionBean.getApplicationBean() |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
509 .getDownloadImage()%>" /> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
510 </a> <!-- view on LGMap --> <a |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
511 href="<%=sessionBean.getApplicationBean().getLGMapUrl()%>&file=<%=aFile.getUserId().toString()%>_<%=aFile.getFileName()%>.csv&name=<%=aFile.getFileName()%>" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
512 target="_blank"> <img title="View on LGMap" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
513 src="<%=sessionBean.getApplicationBean().getViewOnMap()%>" /> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
514 </a> <input type="image" title="Delete it" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
515 onclick="<%=sessionBean.getApplicationBean() |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
516 .getJSConfirmationDelete()%> setAction0('deleteFile', 'fullTextSearchForm', 'fileId','<%=aFile.getId()%>'); document.getElementById('fullTextSearchForm').submit();" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
517 src="<%=sessionBean.getApplicationBean().getDeleteImage()%>" /> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
518 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
519 </td> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
520 <% } %> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
521 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
522 </tr> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
523 </table> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
524 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
525 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
526 </div> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
527 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
528 <div id="dialogViewSavedResult2" title="Saved Table(s) *Test a new layout and sort by time:)"> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
529 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
530 <!-- TODO records in the table sorted by (1) saved time or (2) alphabet --> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
531 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
532 <div class="label">This week:</div> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
533 <table class="savedResultTable2"> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
534 <% |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
535 for (LGFullTextSearchFile aFile : sessionBean.getFullTextSearchPage().getWeekFileList()) { |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
536 %> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
537 <tr> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
538 <td> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
539 <div><%=aFile.getFileName()%></div> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
540 </td> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
541 <td> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
542 <button type="button" class="lgButton" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
543 onclick="setAction0('loadFile', 'fullTextSearchForm', 'fileId', <%=aFile.getId()%>); document.getElementById('fullTextSearchForm').submit();">load</button> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
544 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
545 <!-- getFullTextSearchFileText?fileId= &userId= --> <!-- click searching result to open it in the same table of full-text-search result --> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
546 <a |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
547 href="<%=sessionBean.getApplicationBean().getRootServer()%>/rest/text/getFullTextSearchHtmlFile?fileId=<%=aFile.getId()%>" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
548 target="_blank"> <img title="Show text in html" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
549 src="<%=sessionBean.getApplicationBean().getShowImage()%>" /> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
550 </a> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
551 <!-- download csv file --> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
552 <a |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
553 href="<%=sessionBean.getApplicationBean().getRootServer()%>/rest/text/downloadFullTextSearchCsvFile?file=<%=aFile.getUserId().toString()%>_<%=aFile.getFileName()%>.csv" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
554 target="_blank"> <img title="Download CSV" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
555 src="<%=sessionBean.getApplicationBean() |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
556 .getDownloadImage()%>" /> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
557 </a> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
558 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
559 <!-- view on LGMap --> <!-- |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
560 href="<%=sessionBean.getApplicationBean().getLGMapUrl()%>&file=<%=aFile.getUserId().toString()%>_<%=aFile.getFileName()%>.csv&name=<%=aFile.getFileName()%>" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
561 Use file name instead as the name in the link to LGMap. |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
562 --> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
563 <a |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
564 href="<%=sessionBean.getApplicationBean().getLGMapUrl()%>&file=<%=aFile.getUserId().toString()%>_<%=aFile.getFileName()%>.csv&name=<%=aFile.getFileName()%>" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
565 target="_blank"> <img title="View on LGMap" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
566 src="<%=sessionBean.getApplicationBean().getViewOnMap()%>" /> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
567 </a> <input type="image" title="Delete it" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
568 onclick="<%=sessionBean.getApplicationBean() |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
569 .getJSConfirmationDelete()%> setAction0('deleteFile', 'fullTextSearchForm', 'fileId','<%=aFile.getId()%>'); document.getElementById('fullTextSearchForm').submit();" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
570 src="<%=sessionBean.getApplicationBean().getDeleteImage()%>" /> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
571 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
572 </td> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
573 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
574 </tr> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
575 <% } %> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
576 </table> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
577 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
578 <div class="label">This month:</div> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
579 <table class="savedResultTable2"> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
580 <% |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
581 for (LGFullTextSearchFile aFile : sessionBean |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
582 .getFullTextSearchPage().getMonthFileList()) { |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
583 %> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
584 <tr> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
585 <td> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
586 <div><%=aFile.getFileName()%></div> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
587 </td> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
588 <td> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
589 <button type="button" class="lgButton" |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
590 onclick="setAction0('loadFile', 'fullTextSearchForm', 'fileId', <%=aFile.getId()%>); document.getElementById('fullTextSearchForm').submit();">load</button> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
591 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
592 <!-- getFullTextSearchFileText?fileId= &userId= --> <!-- click searching result to open it in the same table of full-text-search result --> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
593 <a |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
594 href="<%=sessionBean.getApplicationBean().getRootServer()%>/rest/text/getFullTextSearchHtmlFile?fileId=<%=aFile.getId()%>" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
595 target="_blank"> <img title="Show text in html" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
596 src="<%=sessionBean.getApplicationBean().getShowImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
597 </a> <!-- download csv file --> <a |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
598 href="<%=sessionBean.getApplicationBean().getRootServer()%>/rest/text/downloadFullTextSearchCsvFile?file=<%=aFile.getUserId().toString()%>_<%=aFile.getFileName()%>.csv" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
599 target="_blank"> <img title="Download CSV" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
600 src="<%=sessionBean.getApplicationBean() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
601 .getDownloadImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
602 </a> <!-- view on LGMap --> <a |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
603 href="<%=sessionBean.getApplicationBean().getLGMapUrl()%>&file=<%=aFile.getUserId().toString()%>_<%=aFile.getFileName()%>.csv&name=<%=aFile.getFileName()%>" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
604 target="_blank"> <img title="View on LGMap" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
605 src="<%=sessionBean.getApplicationBean().getViewOnMap()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
606 </a> <input type="image" title="Delete it" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
607 onclick="<%=sessionBean.getApplicationBean() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
608 .getJSConfirmationDelete()%> setAction0('deleteFile', 'fullTextSearchForm', 'fileId','<%=aFile.getId()%>'); document.getElementById('fullTextSearchForm').submit();" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
609 src="<%=sessionBean.getApplicationBean().getDeleteImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
610 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
611 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
612 |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
613 |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
614 </tr> |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
615 <% } %> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
616 </table> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
617 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
618 <div class="label">Older...</div> |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
619 <table class="savedResultTable2"> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
620 <% |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
621 for (LGFullTextSearchFile aFile : sessionBean.getFullTextSearchPage().getOlderFileList()) { |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
622 %> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
623 |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
624 <tr> |
55
95bf4ac726e6
Topic synchronization with extraction-interface. new tables in LGService database
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
54
diff
changeset
|
625 <td> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
626 <div><%=aFile.getFileName()%></div> |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
627 </td> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
628 <td> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
629 <button type="button" class="lgButton" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
630 onclick="setAction0('loadFile', 'fullTextSearchForm', 'fileId', <%=aFile.getId()%>); document.getElementById('fullTextSearchForm').submit();">load</button> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
631 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
632 <!-- getFullTextSearchFileText?fileId= &userId= --> <!-- click searching result to open it in the same table of full-text-search result --> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
633 <a |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
634 href="<%=sessionBean.getApplicationBean().getRootServer()%>/rest/text/getFullTextSearchHtmlFile?fileId=<%=aFile.getId()%>" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
635 target="_blank"> <img title="Show text in html" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
636 src="<%=sessionBean.getApplicationBean().getShowImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
637 </a> <!-- download csv file --> <a |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
638 href="<%=sessionBean.getApplicationBean().getRootServer()%>/rest/text/downloadFullTextSearchCsvFile?file=<%=aFile.getUserId().toString()%>_<%=aFile.getFileName()%>.csv" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
639 target="_blank"> <img title="Download CSV" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
640 src="<%=sessionBean.getApplicationBean() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
641 .getDownloadImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
642 </a> <!-- view on LGMap --> <a |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
643 href="<%=sessionBean.getApplicationBean().getLGMapUrl()%>&file=<%=aFile.getUserId().toString()%>_<%=aFile.getFileName()%>.csv&name=<%=aFile.getFileName()%>" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
644 target="_blank"> <img title="View on LGMap" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
645 src="<%=sessionBean.getApplicationBean().getViewOnMap()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
646 </a> <input type="image" title="Delete it" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
647 onclick="<%=sessionBean.getApplicationBean() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
648 .getJSConfirmationDelete()%> setAction0('deleteFile', 'fullTextSearchForm', 'fileId','<%=aFile.getId()%>'); document.getElementById('fullTextSearchForm').submit();" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
649 src="<%=sessionBean.getApplicationBean().getDeleteImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
650 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
651 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
652 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
653 </tr> |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
654 <% } %> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
655 </table> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
656 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
657 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
658 </div> |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
659 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
660 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
661 |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
662 |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
663 <label class="subTitel">Full Text Search</label> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
664 <form name="fullTextSearchForm" id="fullTextSearchForm" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
665 action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
666 method="post" class="contentForm"> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
667 <input name="bean" type="hidden" value="fullTextSearchBean" /> <input |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
668 id="focusedId" type="hidden" |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
669 value="<%=sessionBean.getFullTextSearchPage() |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
670 .getFocusedContentId()%>" /> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
671 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
672 <input id="mouseX" name="mouseX" type="hidden" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
673 value="<%=sessionBean.getFullTextSearchPage().getMouseX()%>" /> <input |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
674 id="mouseY" name="mouseY" type="hidden" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
675 value="<%=sessionBean.getFullTextSearchPage().getMouseY()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
676 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
677 <table style="width: 300px; margin-left: auto; margin-right: auto;"> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
678 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
679 <td><input id="searchTerm" name="searchTerm" type="text" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
680 placeholder='if multiple terms, use "," to separate them.' |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
681 class="searchInput" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
682 value="<%=sessionBean.getFullTextSearchPage().getSearchTerm()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
683 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
684 <td><input id="search" type="image" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
685 onclick="setAction('search', 'fullTextSearchForm');" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
686 src="<%=sessionBean.getApplicationBean().getSearchImage()%>" /></td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
687 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
688 </tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
689 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
690 <!-- batching querying --> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
691 <!-- for batching, query keyword sets separated by ";" and within each keyword set, keywords separated by "," --> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
692 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
693 <% |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
694 if (StringUtils.equals(sessionBean.getUserName(), "admin")) { // || StringUtils.equals(sessionBean.getUserName(), "silk")) { |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
695 %> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
696 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
697 <td><input id="batchSearchTerm" name="batchSearchTerm" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
698 type="text" placeholder="(TODO plz Don't use this to search)" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
699 class="searchInput" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
700 value="<%=sessionBean.getFullTextSearchPage() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
701 .getBatchSearchTerm()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
702 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
703 <td><input id="search" type="image" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
704 onclick="setAction('searchBatch', 'fullTextSearchForm');" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
705 src="<%=sessionBean.getApplicationBean().getSearchImage()%>" /></td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
706 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
707 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
708 </tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
709 <% |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
710 } |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
711 %> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
712 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
713 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
714 <td><label class="label"><%=(StringUtils.isNotEmpty(sessionBean |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
715 .getFullTextSearchPage().getSearchMessage())) ? sessionBean |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
716 .getFullTextSearchPage().getSearchMessage() : ""%></label></td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
717 </tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
718 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
719 <td><label class="label"><%=(StringUtils.isNotEmpty(sessionBean |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
720 .getFullTextSearchPage().getFilteringMessage())) ? sessionBean |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
721 .getFullTextSearchPage().getFilteringMessage() : ""%></label></td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
722 </tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
723 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
724 <td><label class="label"><%=(StringUtils.isNotEmpty(sessionBean |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
725 .getFullTextSearchPage().getSelectedContentMessage())) ? sessionBean |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
726 .getFullTextSearchPage().getSelectedContentMessage() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
727 : ""%></label></td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
728 </tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
729 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
730 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
731 <td> |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
732 <button id="saveResult" type="button" class="lgButton">Save Table</button> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
733 <button id="viewSavedResult" type="button" class="lgButton">View/Load Saved Table(s)</button> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
734 </td> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
735 </tr> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
736 <tr> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
737 <td> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
738 <span>*Test:</span> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
739 <button id="viewSavedResult2" type="button" class="lgButton">View/Load Saved Table(s): new layout and sorting by time:)</button> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
740 |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
741 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
742 </tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
743 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
744 <td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
745 <!-- for view on LGMap, prompt to save if it's not saved. After saving, it could be shown on LGMap --> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
746 <% |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
747 if (sessionBean.getFullTextSearchPage().getFile() != null) { |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
748 LGFullTextSearchFile theFile = sessionBean |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
749 .getFullTextSearchPage().getFile(); |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
750 %> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
751 <a |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
752 href="<%=sessionBean.getApplicationBean().getLGMapUrl()%>&file=<%=theFile.getUserId().toString()%>_<%=theFile.getFileName()%>.csv&name=<%=theFile.getFileName()%>" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
753 target="_blank">View on LGMap </a> <!-- download csv file --> <a |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
754 href="<%=sessionBean.getApplicationBean().getRootServer()%>/rest/text/downloadFullTextSearchCsvFile?file=<%=theFile.getUserId().toString()%>_<%=theFile.getFileName()%>.csv" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
755 target="_blank"> <img title="Download CSV" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
756 src="<%=sessionBean.getApplicationBean() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
757 .getDownloadImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
758 </a> |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
759 <% |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
760 } else if (sessionBean.getFullTextSearchPage().getCompleteList() != null) { |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
761 %> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
762 <!-- prompt to save --> <!-- A click icon for Save Table, showing the text as bellow --> |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
763 <button id="prompToSaveResult" type="button" class="lgButton">View |
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
764 on LGMap?</button> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
765 <% } %> |
69
dd2fcc5f5deb
new: saved table in full text search page: new layout and sorting by time
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
67
diff
changeset
|
766 |
55
95bf4ac726e6
Topic synchronization with extraction-interface. new tables in LGService database
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
54
diff
changeset
|
767 </td> |
39 | 768 </tr> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
769 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
770 </table> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
771 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
772 |
39 | 773 <% |
774 if (sessionBean.getFullTextSearchPage().getCompleteList() != null) { | |
775 %> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
776 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
777 |
39 | 778 <jsp:include page="../componentes/paginator.jsp"> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
779 <jsp:param name="formName" value="fullTextSearchForm" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
780 </jsp:include> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
781 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
782 |
39 | 783 <div class="tableDiv double-scroll"> |
784 <table class="pageTable"> | |
785 <tbody> | |
786 <tr> | |
787 <th> | |
788 <table class="sortTable"> | |
789 <tr> | |
790 <td><label class="tableTitle">#</label></td> | |
791 <td> | |
792 <table> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
793 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
794 <td><input type="image" |
39 | 795 onclick="setAction('sortByInxUp', 'fullTextSearchForm');" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
796 src="<%=sessionBean.getApplicationBean().getUpImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
797 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
798 </tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
799 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
800 <td><input type="image" |
39 | 801 onclick="setAction('sortByInxDown', 'fullTextSearchForm');" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
802 src="<%=sessionBean.getApplicationBean().getDownImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
803 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
804 </tr> |
39 | 805 </table> |
806 </td> | |
807 </tr> | |
808 </table> | |
809 </th> | |
810 <th> | |
811 <table class="sortTable"> | |
812 <tr> | |
813 <td><label class="tableTitle">Book Id</label></td> | |
814 <td> | |
815 <table> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
816 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
817 <td><input type="image" |
39 | 818 onclick="setAction('sortByBookIdUp', 'fullTextSearchForm');" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
819 src="<%=sessionBean.getApplicationBean().getUpImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
820 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
821 </tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
822 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
823 <td><input type="image" |
39 | 824 onclick="setAction('sortByBookIdDown', 'fullTextSearchForm');" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
825 src="<%=sessionBean.getApplicationBean().getDownImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
826 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
827 </tr> |
39 | 828 </table> |
829 </td> | |
830 </tr> | |
831 <tr> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
832 <td><input type="text" class="filterInput" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
833 name="bookIdFilter" id="bookIdFilter" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
834 value="<%=sessionBean.getFullTextSearchPage() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
835 .getBookIdFilter()%>" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
836 size="8" /></td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
837 <td><input type="image" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
838 onclick="setAction('filter', 'fullTextSearchForm');" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
839 src="<%=sessionBean.getApplicationBean().getFilterImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
840 </td> |
39 | 841 </tr> |
842 </table> | |
843 </th> | |
844 <th> | |
845 <table class="sortTable"> | |
846 <tr> | |
847 <td><label class="tableTitle">Book Name</label></td> | |
848 <td> | |
849 <table> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
850 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
851 <td><input type="image" |
39 | 852 onclick="setAction('sortByBookNameUp', 'fullTextSearchForm');" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
853 src="<%=sessionBean.getApplicationBean().getUpImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
854 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
855 </tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
856 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
857 <td><input type="image" |
39 | 858 onclick="setAction('sortByBookNameDown', 'fullTextSearchForm');" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
859 src="<%=sessionBean.getApplicationBean().getDownImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
860 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
861 </tr> |
39 | 862 </table> |
863 </td> | |
864 </tr> | |
865 <tr> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
866 <td><input type="text" class="filterInput" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
867 name="bookNameFilter" id="bookNameFilter" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
868 value="<%=sessionBean.getFullTextSearchPage() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
869 .getBookNameFilter()%>" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
870 size="8" /></td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
871 <td><input type="image" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
872 onclick="setAction('filter', 'fullTextSearchForm');" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
873 src="<%=sessionBean.getApplicationBean().getFilterImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
874 </td> |
39 | 875 </tr> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
876 </table> |
39 | 877 </th> |
878 <th> | |
879 <table class="sortTable"> | |
880 <tr> | |
881 <td><label class="tableTitle">Level 1</label></td> | |
882 <td> | |
883 <table> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
884 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
885 <td><input type="image" |
39 | 886 onclick="setAction('sortByLevel1Up', 'fullTextSearchForm');" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
887 src="<%=sessionBean.getApplicationBean().getUpImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
888 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
889 </tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
890 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
891 <td><input type="image" |
39 | 892 onclick="setAction('sortByLevel1Down', 'fullTextSearchForm');" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
893 src="<%=sessionBean.getApplicationBean().getDownImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
894 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
895 </tr> |
39 | 896 </table> |
897 </td> | |
898 </tr> | |
899 <tr> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
900 <td><input type="text" class="filterInput" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
901 name="level1Filter" id="level1Filter" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
902 value="<%=sessionBean.getFullTextSearchPage() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
903 .getLevel1Filter()%>" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
904 size="8" /></td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
905 <td><input type="image" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
906 onclick="setAction('filter', 'fullTextSearchForm');" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
907 src="<%=sessionBean.getApplicationBean().getFilterImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
908 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
909 </tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
910 </table> |
39 | 911 </th> |
912 <th> | |
913 <table class="sortTable"> | |
914 <tr> | |
915 <td><label class="tableTitle">Level 2</label></td> | |
916 <td> | |
917 <table> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
918 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
919 <td><input type="image" |
39 | 920 onclick="setAction('sortByLevel2Up', 'fullTextSearchForm');" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
921 src="<%=sessionBean.getApplicationBean().getUpImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
922 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
923 </tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
924 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
925 <td><input type="image" |
39 | 926 onclick="setAction('sortByLevel2Down', 'fullTextSearchForm');" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
927 src="<%=sessionBean.getApplicationBean().getDownImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
928 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
929 </tr> |
39 | 930 </table> |
931 </td> | |
932 </tr> | |
933 <tr> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
934 <td><input type="text" class="filterInput" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
935 name="level2Filter" id="level2Filter" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
936 value="<%=sessionBean.getFullTextSearchPage() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
937 .getLevel2Filter()%>" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
938 size="8" /></td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
939 <td><input type="image" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
940 onclick="setAction('filter', 'fullTextSearchForm');" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
941 src="<%=sessionBean.getApplicationBean().getFilterImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
942 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
943 </tr> |
39 | 944 </table> |
945 </th> | |
946 <th> | |
947 <table class="sortTable"> | |
948 <tr> | |
949 <td><label class="tableTitle">Dynasty</label></td> | |
950 <td> | |
951 <table> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
952 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
953 <td><input type="image" |
39 | 954 onclick="setAction('sortByDynastyUp', 'fullTextSearchForm');" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
955 src="<%=sessionBean.getApplicationBean().getUpImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
956 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
957 </tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
958 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
959 <td><input type="image" |
39 | 960 onclick="setAction('sortByDynastyDown', 'fullTextSearchForm');" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
961 src="<%=sessionBean.getApplicationBean().getDownImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
962 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
963 </tr> |
39 | 964 </table> |
965 </td> | |
966 </tr> | |
967 <tr> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
968 <td><input type="text" class="filterInput" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
969 name="dynastyFilter" id="dynastyFilter" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
970 value="<%=sessionBean.getFullTextSearchPage() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
971 .getDynastyFilter()%>" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
972 size="8" /></td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
973 <td><input type="image" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
974 onclick="setAction('filter', 'fullTextSearchForm');" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
975 src="<%=sessionBean.getApplicationBean().getFilterImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
976 </td> |
39 | 977 </tr> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
978 </table> |
39 | 979 </th> |
980 <th> | |
981 <table class="sortTable"> | |
982 <tr> | |
983 <td><label class="tableTitle">Period</label></td> | |
984 <td> | |
985 <table> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
986 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
987 <td><input type="image" |
39 | 988 onclick="setAction('sortByPeriodUp', 'fullTextSearchForm');" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
989 src="<%=sessionBean.getApplicationBean().getUpImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
990 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
991 </tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
992 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
993 <td><input type="image" |
39 | 994 onclick="setAction('sortByPeriodDown', 'fullTextSearchForm');" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
995 src="<%=sessionBean.getApplicationBean().getDownImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
996 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
997 </tr> |
39 | 998 </table> |
999 </td> | |
1000 </tr> | |
1001 <tr> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1002 <td><input type="text" class="filterInput" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1003 name="periodFilter" id="periodFilter" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1004 value="<%=sessionBean.getFullTextSearchPage() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1005 .getPeriodFilter()%>" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1006 size="8" /></td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1007 <td><input type="image" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1008 onclick="setAction('filter', 'fullTextSearchForm');" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1009 src="<%=sessionBean.getApplicationBean().getFilterImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1010 </td> |
39 | 1011 </tr> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1012 </table> |
39 | 1013 </th> |
1014 <th> | |
1015 <table class="sortTable"> | |
1016 <tr> | |
1017 <td><label class="tableTitle">Admin Type</label></td> | |
1018 <td> | |
1019 <table> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1020 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1021 <td><input type="image" |
39 | 1022 onclick="setAction('sortByAdminTypeUp', 'fullTextSearchForm');" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1023 src="<%=sessionBean.getApplicationBean().getUpImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1024 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1025 </tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1026 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1027 <td><input type="image" |
39 | 1028 onclick="setAction('sortByAdminTypeDown', 'fullTextSearchForm');" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1029 src="<%=sessionBean.getApplicationBean().getDownImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1030 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1031 </tr> |
39 | 1032 </table> |
1033 </td> | |
1034 </tr> | |
1035 <tr> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1036 <td><input type="text" class="filterInput" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1037 name="adminTypeFilter" id="adminTypeFilter" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1038 value="<%=sessionBean.getFullTextSearchPage() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1039 .getAdminTypeFilter()%>" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1040 size="8" /></td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1041 <td><input type="image" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1042 onclick="setAction('filter', 'fullTextSearchForm');" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1043 src="<%=sessionBean.getApplicationBean().getFilterImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1044 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1045 </tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1046 </table> |
39 | 1047 </th> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1048 |
39 | 1049 <th> |
1050 <table class="sortTable"> | |
1051 <tr> | |
1052 <td><label class="tableTitle">Section Name</label></td> | |
1053 <td> | |
1054 <table> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1055 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1056 <td><input type="image" |
39 | 1057 onclick="setAction('sortBySectionNameUp', 'fullTextSearchForm');" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1058 src="<%=sessionBean.getApplicationBean().getUpImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1059 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1060 </tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1061 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1062 <td><input type="image" |
39 | 1063 onclick="setAction('sortBySectionNameDown', 'fullTextSearchForm');" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1064 src="<%=sessionBean.getApplicationBean().getDownImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1065 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1066 </tr> |
39 | 1067 </table> |
1068 </td> | |
1069 </tr> | |
1070 <tr> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1071 <td><input type="text" class="filterInput" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1072 name="sectionNameFilter" id="sectionNameFilter" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1073 value="<%=sessionBean.getFullTextSearchPage() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1074 .getSectionNameFilter()%>" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1075 size="8" /></td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1076 <td><input type="image" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1077 onclick="setAction('filter', 'fullTextSearchForm');" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1078 src="<%=sessionBean.getApplicationBean().getFilterImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1079 </td> |
39 | 1080 </tr> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1081 </table> |
39 | 1082 </th> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1083 |
58
b8ad346e39a0
new: modify based on doc 'Improving LGServices interface.docx': user workflow improvement, functions like adding task into a topic and search suggestions.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
57
diff
changeset
|
1084 <!-- |
39 | 1085 <th> |
1086 <table class="sortTable"> | |
1087 <tr> | |
1088 <td><label class="tableTitle">Section Pages</label></td> | |
1089 <td> | |
1090 <table> | |
1091 <tr><td> | |
1092 <input type="image" | |
1093 onclick="setAction('sortBySectionNameUp', 'fullTextSearchForm');" | |
1094 src="<%=sessionBean.getApplicationBean().getUpImage()%>"/> | |
1095 </td></tr> | |
1096 <tr><td> | |
1097 <input type="image" | |
1098 onclick="setAction('sortBySectionNameDown', 'fullTextSearchForm');" | |
1099 src="<%=sessionBean.getApplicationBean().getDownImage()%>"/> | |
1100 </td></tr> | |
1101 </table> | |
1102 </td> | |
1103 </tr> | |
1104 </table> | |
1105 </th> | |
58
b8ad346e39a0
new: modify based on doc 'Improving LGServices interface.docx': user workflow improvement, functions like adding task into a topic and search suggestions.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
57
diff
changeset
|
1106 --> |
b8ad346e39a0
new: modify based on doc 'Improving LGServices interface.docx': user workflow improvement, functions like adding task into a topic and search suggestions.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
57
diff
changeset
|
1107 <th><label class="tableTitle">Load Text</label></th> |
39 | 1108 <th> |
1109 <table class="sortTable"> | |
1110 <tr> | |
1111 <td><label class="tableTitle">Page</label></td> | |
1112 <td> | |
1113 <table> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1114 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1115 <td><input type="image" |
39 | 1116 onclick="setAction('sortByStartPageUp', 'fullTextSearchForm');" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1117 src="<%=sessionBean.getApplicationBean().getUpImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1118 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1119 </tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1120 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1121 <td><input type="image" |
39 | 1122 onclick="setAction('sortByStartPageDown', 'fullTextSearchForm');" |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1123 src="<%=sessionBean.getApplicationBean().getDownImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1124 </td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1125 </tr> |
39 | 1126 </table> |
1127 </td> | |
1128 </tr> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1129 </table> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1130 |
39 | 1131 </th> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1132 <th style="min-width: 300px"> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1133 |
49
7c2e1b14b77d
new: load existing full text searching result into searching table
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
48
diff
changeset
|
1134 <table class="sortTable"> |
7c2e1b14b77d
new: load existing full text searching result into searching table
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
48
diff
changeset
|
1135 <tr> |
7c2e1b14b77d
new: load existing full text searching result into searching table
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
48
diff
changeset
|
1136 <td><label class="tableTitle">Content</label></td> |
7c2e1b14b77d
new: load existing full text searching result into searching table
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
48
diff
changeset
|
1137 <td></td> |
7c2e1b14b77d
new: load existing full text searching result into searching table
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
48
diff
changeset
|
1138 </tr> |
7c2e1b14b77d
new: load existing full text searching result into searching table
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
48
diff
changeset
|
1139 <tr> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1140 <td><input type="text" class="filterInput" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1141 name="contentFilter" id="contentFilter" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1142 value="<%=sessionBean.getFullTextSearchPage() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1143 .getContentFilter()%>" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1144 size="8" /></td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1145 <td><input type="image" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1146 onclick="setAction('filter', 'fullTextSearchForm');" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1147 src="<%=sessionBean.getApplicationBean().getFilterImage()%>" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1148 </td> |
49
7c2e1b14b77d
new: load existing full text searching result into searching table
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
48
diff
changeset
|
1149 </tr> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1150 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1151 </table> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1152 |
49
7c2e1b14b77d
new: load existing full text searching result into searching table
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
48
diff
changeset
|
1153 </th> |
57
5cbe567a9c52
new: a link to view section text in ext-interface on full text searching page. bug fixed: a default topicId passed when doing search and full text search
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
55
diff
changeset
|
1154 <th><label class="tableTitle">Select rows</label></th> |
39 | 1155 </tr> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1156 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1157 |
39 | 1158 <% |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1159 for (DBContents content : sessionBean |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1160 .getFullTextSearchPage().getDisplayList()) { |
39 | 1161 %> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1162 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1163 <% |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1164 if (content.isRemoved()) { |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1165 %> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1166 <tr class="removedContent"> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1167 <% |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1168 } else { |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1169 %> |
39 | 1170 |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1171 <tr> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1172 <% |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1173 } |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1174 %> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1175 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1176 <td><%=content.getInx()%></td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1177 <td><%=content.getBookId()%></td> |
39 | 1178 <td><%=content.getSection().getBook().getName()%></td> |
1179 <td><%=content.getSection().getBook().getLevel1()%></td> | |
1180 <td><%=content.getSection().getBook().getLevel2()%></td> | |
1181 <td><%=content.getSection().getBook().getDynasty()%></td> | |
1182 <td><%=content.getSection().getBook().getPeriod()%></td> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1183 <td><%=content.getSection().getBook() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1184 .getAdmin_type()%></td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1185 <td><%=content.getSection().getName()%></td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1186 |
57
5cbe567a9c52
new: a link to view section text in ext-interface on full text searching page. bug fixed: a default topicId passed when doing search and full text search
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
55
diff
changeset
|
1187 <!-- View text in Ext-Interface --> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1188 <td><a href="#" title="Show Section in Extraction Interface" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1189 onclick="sectionInExtractionInterface('<%=content.getSection().getId()%>', '<%=content.getSection().getName()%>', '<%=content.getSection().getBook().getId()%>', '<%=content.getSection().getBook().getName()%>', '<%=sessionBean.getTopicListPage() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1190 .getCompleteTopicList().get(0).getId()%>', '<%=sessionBean.getUser().getId()%>', '<%=sessionBean.getApplicationBean() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1191 .getExtractionInterfaceUrl()%>');"> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1192 <img title="Show Section in Extraction Interface" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1193 src="<%=sessionBean.getApplicationBean() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1194 .getShowImage()%>"> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1195 </a></td> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1196 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1197 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1198 <td><%=content.getPage()%></td> |
39 | 1199 <td class="content"><%=content.getContent()%></td> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1200 <td id="content_<%=content.getId()%>"> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1201 <% |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1202 if (content.isRemoved()) { |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1203 %> <input type="image" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1204 onclick="setMousePos(); setAction0('recoverFocusedContent', 'fullTextSearchForm', 'focusedContentId', '<%=content.getId()%>');" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1205 src="<%=sessionBean.getApplicationBean() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1206 .getCheckboxUncheckedImage()%>" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1207 width="20" height="20" /> <% |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1208 } else { |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1209 %> <input type="image" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1210 onclick="setMousePos(); setAction0('removeFocusedContent', 'fullTextSearchForm', 'focusedContentId', '<%=content.getId()%>');" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1211 src="<%=sessionBean.getApplicationBean() |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1212 .getCheckboxCheckedImage()%>" |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1213 width="20" height="20" /> <% |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1214 } |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1215 %> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1216 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1217 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1218 |
39 | 1219 </td> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1220 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1221 |
39 | 1222 </tr> |
1223 <% | |
1224 } | |
1225 %> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1226 |
39 | 1227 </tbody> |
1228 </table> | |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1229 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1230 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1231 <% |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1232 } |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1233 %> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1234 |
39 | 1235 </div> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1236 |
39 | 1237 <jsp:include page="../componentes/paginator.jsp"> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1238 <jsp:param name="formName" value="fullTextSearchForm" /> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1239 </jsp:include> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1240 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1241 |
39 | 1242 </form> |
62
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1243 |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1244 <% |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1245 } |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1246 %> |
824b808a7481
improvements and bug fixed
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
59
diff
changeset
|
1247 |
39 | 1248 </div> |
1249 | |
1250 </body> | |
1251 </html> |