annotate src/main/webapp/pages/fullTextSearch.jsp @ 59:bc0219c2600b

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