39
|
1 <%@page import="de.mpiwg.gazetteer.bo.LGBranch"%>
|
|
2 <%@page import="org.apache.commons.lang.StringUtils"%>
|
|
3 <%@page import="de.mpiwg.gazetteer.db.DBSection"%>
|
|
4 <%@page import="de.mpiwg.gazetteer.db.DBContents"%>
|
|
5 <%@page import="de.mpiwg.gazetteer.bo.LGFullTextSearchFile"%>
|
|
6
|
|
7
|
|
8 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
|
9
|
|
10 <jsp:useBean id="sessionBean" class="de.mpiwg.web.jsp.SessionBean" scope="session" />
|
|
11
|
|
12
|
|
13 <html>
|
|
14
|
|
15 <head>
|
|
16
|
|
17 <jsp:include page="../componentes/headContent.jsp"/>
|
|
18
|
|
19 <script>
|
|
20 $(function() {
|
|
21 $( "#dialogMoreInfo" ).dialog({
|
|
22 autoOpen: false,
|
|
23 modal: true,
|
|
24 position: { my: "center", at: "top", of: window },
|
|
25
|
|
26 });
|
|
27
|
|
28 var dialogSave = $("#dialogSave").dialog(
|
|
29 {autoOpen: false}
|
|
30 );
|
|
31 $("#saveResult").button().on( "click", function() {
|
|
32 // append searchTerm into the form
|
|
33 $('<input>').attr({
|
|
34 type: 'hidden',
|
|
35 name: 'searchTerm',
|
|
36 value: $("#searchTerm").val()
|
|
37 }).appendTo('form[name="saveTableForm"]');
|
|
38
|
|
39
|
|
40 dialogSave.dialog( "open" );
|
|
41 });
|
|
42
|
|
43 var dialogViewSavedResult = $("#dialogViewSavedResult").dialog(
|
|
44 {autoOpen: false}
|
|
45 );
|
|
46 $("#viewSavedResult").button().on( "click", function() {
|
|
47 dialogViewSavedResult.dialog( "open" );
|
|
48 });
|
|
49
|
|
50
|
|
51 });
|
|
52
|
|
53 // enter pressed event, we don't want to always go to "search".
|
|
54 $(document).keypress(
|
|
55 function(event){
|
|
56 if (event.which == '13') { // enter pressed
|
|
57 // if any of the filter fields is filled in, filter first; otherwize, go to search
|
|
58 $(".filterInput" ).each(function( i ) {
|
|
59 //console.log( this.value );
|
|
60 if (this.value != "") {
|
|
61 //console.log('filtering' + i);
|
|
62 setAction('filter', 'fullTextSearchForm');
|
|
63 $("#fullTextSearchForm").submit();
|
|
64 return false;
|
|
65 }
|
|
66
|
|
67 });
|
|
68 }
|
|
69 });
|
|
70
|
|
71 $(document).ready(function(){
|
|
72 highlightKeywords();
|
|
73 })
|
|
74
|
|
75 function highlightKeywords() // highlight keywords in content column, with class="content"
|
|
76 {
|
|
77 if ($("#searchTerm")[0] == undefined ){
|
|
78 return;
|
|
79 }
|
|
80 var keywords = $("#searchTerm")[0].value;
|
|
81 var keywordsArray = keywords.split(", ");
|
|
82 //console.log("keywordsArray: "+keywordsArray);
|
|
83
|
|
84 var content = $(".content");
|
|
85 for (var i = 0; i < content.length; i++) {
|
|
86 // find keywords in content[i]
|
|
87 var text = content[i].innerHTML;
|
|
88 for (var j = 0; j < keywordsArray.length; j++) {
|
|
89 var index = text.indexOf(keywordsArray[j]);
|
|
90 if (index >= 0) {
|
|
91 text = text.substring(0,index) + "<span class='highlight'>" + text.substring(index, index+keywordsArray[j].length) + "</span>" + text.substring(index+keywordsArray[j].length);
|
|
92 content[i].innerHTML = text;
|
|
93 }
|
|
94 };
|
|
95
|
|
96 };
|
|
97 }
|
|
98
|
|
99 </script>
|
|
100 </head>
|
|
101
|
|
102 <body>
|
|
103
|
|
104 <jsp:include page="../componentes/template.jsp"/>
|
|
105
|
|
106 <div id="dialogMoreInfo" title="Full Text Search Details"> </div>
|
|
107
|
|
108 <div id="page">
|
|
109
|
|
110 <% if(sessionBean.getUser() == null) { %>
|
|
111 <label>You must login!</label>
|
|
112 <% } else {
|
|
113
|
|
114 if (sessionBean.getFullTextSearchPage().getFileList() == null){
|
|
115 sessionBean.getFullTextSearchPage().loadParameters(request, response);
|
|
116 sessionBean.getFullTextSearchPage().forceLoadFileList();
|
|
117 }
|
|
118
|
|
119 %>
|
|
120
|
|
121 <div id="dialogSave" title="Save Table:">
|
|
122 <form name="saveTableForm" id="saveTableForm"
|
|
123 action="<%= sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp"
|
|
124 method="post">
|
|
125 <input name="bean" type="hidden" value="fullTextSearchBean" />
|
|
126 <table>
|
|
127 <tr>
|
|
128 <td>
|
|
129 <input id="fileName" name="fileName" type="text" placeholder="table name"/>
|
|
130 </td>
|
|
131 <td>
|
|
132 <button onclick="setAction('save', 'saveTableForm'); document.getElementById('saveTableForm').submit();">Save</button>
|
|
133
|
|
134 </td>
|
|
135 </tr>
|
|
136 </table>
|
|
137 </form>
|
|
138
|
|
139 </div>
|
|
140
|
|
141 <div id="dialogViewSavedResult" title="Saved Table List:">
|
|
142
|
|
143 <table class="pageTable">
|
|
144 <tr>
|
|
145 <td class="tableTitle">Table name</td>
|
|
146 <td class="tableTitle">html</td>
|
|
147 </tr>
|
|
148
|
|
149 <% for (LGFullTextSearchFile aFile : sessionBean.getFullTextSearchPage().getFileList() ){%>
|
|
150 <tr>
|
|
151 <td><%= aFile.getFileName() %></td>
|
|
152 <!-- getFullTextSearchFileText?fileId= &userId= -->
|
|
153 <td>
|
|
154 <a href="<%=sessionBean.getApplicationBean().getRootServer() %>/rest/text/getFullTextSearchHtmlFile?fileId=<%= aFile.getId() %>"
|
|
155 target="_blank">
|
|
156 <img alt="Show text in html" src="<%=sessionBean.getApplicationBean().getShowImage()%>"/>
|
|
157 </a>
|
|
158 </td>
|
|
159
|
|
160 </tr>
|
|
161 <% } %>
|
|
162
|
|
163 </table>
|
|
164
|
|
165
|
|
166 </div>
|
|
167 <label class="subTitel">Full Text Search</label>
|
|
168
|
|
169 <form name="fullTextSearchForm" id="fullTextSearchForm"
|
|
170 action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp"
|
|
171 method="post"
|
|
172 class="contentForm">
|
|
173 <input name="bean" type="hidden" value="fullTextSearchBean" />
|
|
174
|
|
175 <table style="width: 300px; margin-left: auto;margin-right: auto;">
|
|
176 <tr>
|
|
177 <td>
|
|
178 <input
|
|
179 id="searchTerm"
|
|
180 name="searchTerm"
|
|
181 type="text"
|
|
182 class="searchInput"
|
|
183 value="<%=sessionBean.getFullTextSearchPage().getSearchTerm()%>" />
|
|
184 </td>
|
|
185 <td>
|
|
186 <input id="search"
|
|
187 type="image"
|
|
188 onclick="setAction('search', 'fullTextSearchForm');"
|
|
189 src="<%=sessionBean.getApplicationBean().getSearchImage()%>"/>
|
|
190 </td>
|
|
191
|
|
192 </tr>
|
|
193
|
|
194 <tr><td><label class="label"><%= (StringUtils.isNotEmpty(sessionBean.getFullTextSearchPage().getSearchMessage())) ? sessionBean.getFullTextSearchPage().getSearchMessage() : ""%></label></td></tr>
|
|
195 <tr><td><label class="label"><%= (StringUtils.isNotEmpty(sessionBean.getFullTextSearchPage().getFilteringMessage())) ? sessionBean.getFullTextSearchPage().getFilteringMessage() : ""%></label></td></tr>
|
|
196 <tr><td>
|
|
197 <button id="saveResult" type="button" class="lgButton">Save Table</button>
|
|
198 <button id="viewSavedResult" type="button" class="lgButton">View Saved Table(s)</button>
|
|
199 </td></tr>
|
|
200
|
|
201
|
|
202 </table>
|
|
203
|
|
204
|
|
205
|
|
206 <%
|
|
207 if (sessionBean.getFullTextSearchPage().getCompleteList() != null) {
|
|
208 %>
|
|
209
|
|
210 <!--
|
|
211 <jsp:include page="../componentes/paginator.jsp">
|
|
212 <jsp:param name="formName" value="fullTextSearchForm"/>
|
|
213 </jsp:include>
|
|
214 -->
|
|
215
|
|
216 <div class="tableDiv double-scroll">
|
|
217 <table class="pageTable">
|
|
218 <tbody>
|
|
219 <tr>
|
|
220 <th>
|
|
221 <table class="sortTable">
|
|
222 <tr>
|
|
223 <td><label class="tableTitle">#</label></td>
|
|
224 <td>
|
|
225 <table>
|
|
226 <tr><td>
|
|
227 <input type="image"
|
|
228 onclick="setAction('sortByInxUp', 'fullTextSearchForm');"
|
|
229 src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>
|
|
230 </td></tr>
|
|
231 <tr><td>
|
|
232 <input type="image"
|
|
233 onclick="setAction('sortByInxDown', 'fullTextSearchForm');"
|
|
234 src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>
|
|
235 </td></tr>
|
|
236 </table>
|
|
237 </td>
|
|
238 </tr>
|
|
239 </table>
|
|
240 </th>
|
|
241 <th>
|
|
242 <table class="sortTable">
|
|
243 <tr>
|
|
244 <td><label class="tableTitle">Book Id</label></td>
|
|
245 <td>
|
|
246 <table>
|
|
247 <tr><td>
|
|
248 <input type="image"
|
|
249 onclick="setAction('sortByBookIdUp', 'fullTextSearchForm');"
|
|
250 src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>
|
|
251 </td></tr>
|
|
252 <tr><td>
|
|
253 <input type="image"
|
|
254 onclick="setAction('sortByBookIdDown', 'fullTextSearchForm');"
|
|
255 src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>
|
|
256 </td></tr>
|
|
257 </table>
|
|
258 </td>
|
|
259 </tr>
|
|
260 <tr>
|
|
261 <td>
|
|
262 <input type="text" class="filterInput" name="bookIdFilter" id="bookIdFilter" value="<%= sessionBean.getFullTextSearchPage().getBookIdFilter()%>" size="8"/>
|
|
263 </td>
|
|
264 <td>
|
|
265 <input type="image"
|
|
266 onclick="setAction('filter', 'fullTextSearchForm');"
|
|
267 src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
|
|
268 </td>
|
|
269 </tr>
|
|
270 </table>
|
|
271 </th>
|
|
272 <th>
|
|
273 <table class="sortTable">
|
|
274 <tr>
|
|
275 <td><label class="tableTitle">Book Name</label></td>
|
|
276 <td>
|
|
277 <table>
|
|
278 <tr><td>
|
|
279 <input type="image"
|
|
280 onclick="setAction('sortByBookNameUp', 'fullTextSearchForm');"
|
|
281 src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>
|
|
282 </td></tr>
|
|
283 <tr><td>
|
|
284 <input type="image"
|
|
285 onclick="setAction('sortByBookNameDown', 'fullTextSearchForm');"
|
|
286 src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>
|
|
287 </td></tr>
|
|
288 </table>
|
|
289 </td>
|
|
290 </tr>
|
|
291 <tr>
|
|
292 <td>
|
|
293 <input type="text" class="filterInput" name="bookNameFilter" id="bookNameFilter" value="<%= sessionBean.getFullTextSearchPage().getBookNameFilter()%>" size="8"/>
|
|
294 </td>
|
|
295 <td>
|
|
296 <input type="image"
|
|
297 onclick="setAction('filter', 'fullTextSearchForm');"
|
|
298 src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
|
|
299 </td>
|
|
300 </tr>
|
|
301 </table>
|
|
302 </th>
|
|
303 <th>
|
|
304 <table class="sortTable">
|
|
305 <tr>
|
|
306 <td><label class="tableTitle">Level 1</label></td>
|
|
307 <td>
|
|
308 <table>
|
|
309 <tr><td>
|
|
310 <input type="image"
|
|
311 onclick="setAction('sortByLevel1Up', 'fullTextSearchForm');"
|
|
312 src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>
|
|
313 </td></tr>
|
|
314 <tr><td>
|
|
315 <input type="image"
|
|
316 onclick="setAction('sortByLevel1Down', 'fullTextSearchForm');"
|
|
317 src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>
|
|
318 </td></tr>
|
|
319 </table>
|
|
320 </td>
|
|
321 </tr>
|
|
322 <tr>
|
|
323 <td>
|
|
324 <input type="text" class="filterInput" name="level1Filter" id="level1Filter" value="<%= sessionBean.getFullTextSearchPage().getLevel1Filter()%>" size="8"/>
|
|
325 </td>
|
|
326 <td>
|
|
327 <input type="image"
|
|
328 onclick="setAction('filter', 'fullTextSearchForm');"
|
|
329 src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
|
|
330 </td>
|
|
331 </tr>
|
|
332 </table>
|
|
333 </th>
|
|
334 <th>
|
|
335 <table class="sortTable">
|
|
336 <tr>
|
|
337 <td><label class="tableTitle">Level 2</label></td>
|
|
338 <td>
|
|
339 <table>
|
|
340 <tr><td>
|
|
341 <input type="image"
|
|
342 onclick="setAction('sortByLevel2Up', 'fullTextSearchForm');"
|
|
343 src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>
|
|
344 </td></tr>
|
|
345 <tr><td>
|
|
346 <input type="image"
|
|
347 onclick="setAction('sortByLevel2Down', 'fullTextSearchForm');"
|
|
348 src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>
|
|
349 </td></tr>
|
|
350 </table>
|
|
351 </td>
|
|
352 </tr>
|
|
353 <tr>
|
|
354 <td>
|
|
355 <input type="text" class="filterInput" name="level2Filter" id="level2Filter" value="<%= sessionBean.getFullTextSearchPage().getLevel2Filter()%>" size="8"/>
|
|
356 </td>
|
|
357 <td>
|
|
358 <input type="image"
|
|
359 onclick="setAction('filter', 'fullTextSearchForm');"
|
|
360 src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
|
|
361 </td>
|
|
362 </tr>
|
|
363 </table>
|
|
364 </th>
|
|
365 <th>
|
|
366 <table class="sortTable">
|
|
367 <tr>
|
|
368 <td><label class="tableTitle">Dynasty</label></td>
|
|
369 <td>
|
|
370 <table>
|
|
371 <tr><td>
|
|
372 <input type="image"
|
|
373 onclick="setAction('sortByDynastyUp', 'fullTextSearchForm');"
|
|
374 src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>
|
|
375 </td></tr>
|
|
376 <tr><td>
|
|
377 <input type="image"
|
|
378 onclick="setAction('sortByDynastyDown', 'fullTextSearchForm');"
|
|
379 src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>
|
|
380 </td></tr>
|
|
381 </table>
|
|
382 </td>
|
|
383 </tr>
|
|
384 <tr>
|
|
385 <td>
|
|
386 <input type="text" class="filterInput" name="dynastyFilter" id="dynastyFilter" value="<%= sessionBean.getFullTextSearchPage().getDynastyFilter()%>" size="8"/>
|
|
387 </td>
|
|
388 <td>
|
|
389 <input type="image"
|
|
390 onclick="setAction('filter', 'fullTextSearchForm');"
|
|
391 src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
|
|
392 </td>
|
|
393 </tr>
|
|
394 </table>
|
|
395 </th>
|
|
396 <th>
|
|
397 <table class="sortTable">
|
|
398 <tr>
|
|
399 <td><label class="tableTitle">Period</label></td>
|
|
400 <td>
|
|
401 <table>
|
|
402 <tr><td>
|
|
403 <input type="image"
|
|
404 onclick="setAction('sortByPeriodUp', 'fullTextSearchForm');"
|
|
405 src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>
|
|
406 </td></tr>
|
|
407 <tr><td>
|
|
408 <input type="image"
|
|
409 onclick="setAction('sortByPeriodDown', 'fullTextSearchForm');"
|
|
410 src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>
|
|
411 </td></tr>
|
|
412 </table>
|
|
413 </td>
|
|
414 </tr>
|
|
415 <tr>
|
|
416 <td>
|
|
417 <input type="text" class="filterInput" name="periodFilter" id="periodFilter" value="<%= sessionBean.getFullTextSearchPage().getPeriodFilter()%>" size="8"/>
|
|
418 </td>
|
|
419 <td>
|
|
420 <input type="image"
|
|
421 onclick="setAction('filter', 'fullTextSearchForm');"
|
|
422 src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
|
|
423 </td>
|
|
424 </tr>
|
|
425 </table>
|
|
426 </th>
|
|
427 <th>
|
|
428 <table class="sortTable">
|
|
429 <tr>
|
|
430 <td><label class="tableTitle">Admin Type</label></td>
|
|
431 <td>
|
|
432 <table>
|
|
433 <tr><td>
|
|
434 <input type="image"
|
|
435 onclick="setAction('sortByAdminTypeUp', 'fullTextSearchForm');"
|
|
436 src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>
|
|
437 </td></tr>
|
|
438 <tr><td>
|
|
439 <input type="image"
|
|
440 onclick="setAction('sortByAdminTypeDown', 'fullTextSearchForm');"
|
|
441 src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>
|
|
442 </td></tr>
|
|
443 </table>
|
|
444 </td>
|
|
445 </tr>
|
|
446 <tr>
|
|
447 <td>
|
|
448 <input type="text" class="filterInput" name="adminTypeFilter" id="adminTypeFilter" value="<%= sessionBean.getFullTextSearchPage().getAdminTypeFilter()%>" size="8"/>
|
|
449 </td>
|
|
450 <td>
|
|
451 <input type="image"
|
|
452 onclick="setAction('filter', 'fullTextSearchForm');"
|
|
453 src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
|
|
454 </td>
|
|
455 </tr>
|
|
456 </table>
|
|
457 </th>
|
|
458
|
|
459 <th>
|
|
460 <table class="sortTable">
|
|
461 <tr>
|
|
462 <td><label class="tableTitle">Section Name</label></td>
|
|
463 <td>
|
|
464 <table>
|
|
465 <tr><td>
|
|
466 <input type="image"
|
|
467 onclick="setAction('sortBySectionNameUp', 'fullTextSearchForm');"
|
|
468 src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>
|
|
469 </td></tr>
|
|
470 <tr><td>
|
|
471 <input type="image"
|
|
472 onclick="setAction('sortBySectionNameDown', 'fullTextSearchForm');"
|
|
473 src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>
|
|
474 </td></tr>
|
|
475 </table>
|
|
476 </td>
|
|
477 </tr>
|
|
478 <tr>
|
|
479 <td>
|
|
480 <input type="text" class="filterInput" name="sectionNameFilter" id="sectionNameFilter" value="<%= sessionBean.getFullTextSearchPage().getSectionNameFilter()%>" size="8"/>
|
|
481 </td>
|
|
482 <td>
|
|
483 <input type="image"
|
|
484 onclick="setAction('filter', 'fullTextSearchForm');"
|
|
485 src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
|
|
486 </td>
|
|
487 </tr>
|
|
488 </table>
|
|
489 </th>
|
|
490 <th>
|
|
491 <table class="sortTable">
|
|
492 <tr>
|
|
493 <td><label class="tableTitle">Section Pages</label></td>
|
|
494 <td>
|
|
495 <table>
|
|
496 <tr><td>
|
|
497 <input type="image"
|
|
498 onclick="setAction('sortBySectionNameUp', 'fullTextSearchForm');"
|
|
499 src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>
|
|
500 </td></tr>
|
|
501 <tr><td>
|
|
502 <input type="image"
|
|
503 onclick="setAction('sortBySectionNameDown', 'fullTextSearchForm');"
|
|
504 src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>
|
|
505 </td></tr>
|
|
506 </table>
|
|
507 </td>
|
|
508 </tr>
|
|
509 </table>
|
|
510 </th>
|
|
511 <th>
|
|
512 <table class="sortTable">
|
|
513 <tr>
|
|
514 <td><label class="tableTitle">Page</label></td>
|
|
515 <td>
|
|
516 <table>
|
|
517 <tr><td>
|
|
518 <input type="image"
|
|
519 onclick="setAction('sortByStartPageUp', 'fullTextSearchForm');"
|
|
520 src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>
|
|
521 </td></tr>
|
|
522 <tr><td>
|
|
523 <input type="image"
|
|
524 onclick="setAction('sortByStartPageDown', 'fullTextSearchForm');"
|
|
525 src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>
|
|
526 </td></tr>
|
|
527 </table>
|
|
528 </td>
|
|
529 </tr>
|
|
530 </table>
|
|
531
|
|
532 </th>
|
|
533 <th style="min-width:300px"><label class="tableTitle">Content</label></th>
|
|
534 <th><label class="tableTitle">Select rows</th>
|
|
535 </tr>
|
|
536
|
|
537
|
|
538 <%
|
|
539 for (DBContents content : sessionBean.getFullTextSearchPage().getFilteredList() ) {
|
|
540 %>
|
|
541
|
|
542 <% if ( content.isRemoved() ) { %>
|
|
543 <tr class="removedContent">
|
|
544 <% } else { %>
|
|
545 <tr>
|
|
546 <% } %>
|
|
547
|
|
548 <td><%=content.getInx() %></td>
|
|
549 <td><%=content.getSection().getBook().getId() %></td>
|
|
550 <td><%=content.getSection().getBook().getName()%></td>
|
|
551 <td><%=content.getSection().getBook().getLevel1()%></td>
|
|
552 <td><%=content.getSection().getBook().getLevel2()%></td>
|
|
553 <td><%=content.getSection().getBook().getDynasty()%></td>
|
|
554 <td><%=content.getSection().getBook().getPeriod()%></td>
|
|
555 <td><%=content.getSection().getBook().getAdmin_type() %></td>
|
|
556 <td><%=content.getSection().getName() %></td>
|
|
557 <td><%=content.getSection().getPages()%></td>
|
|
558 <td><%=content.getPage() %></td>
|
|
559 <td class="content"><%=content.getContent()%></td>
|
|
560 <td>
|
|
561 <% if ( content.isRemoved() ) { %>
|
|
562
|
|
563 <input type="image" onclick="setAction0('recoverFocusedContent', 'fullTextSearchForm', 'focusedContentId', '<%=content.getId() %>');"
|
|
564 src="<%=sessionBean.getApplicationBean().getCheckboxUncheckedImage()%>" width="20" height="20"/>
|
|
565
|
|
566 <% } else { %>
|
|
567
|
|
568 <input type="image" onclick="setAction0('removeFocusedContent', 'fullTextSearchForm', 'focusedContentId', '<%=content.getId() %>');"
|
|
569 src="<%=sessionBean.getApplicationBean().getCheckboxCheckedImage()%>" width="20" height="20"/>
|
|
570
|
|
571 <% } %>
|
|
572
|
|
573
|
|
574
|
|
575 </td>
|
|
576
|
|
577 </tr>
|
|
578 <%
|
|
579 }
|
|
580 %>
|
|
581
|
|
582 </tbody>
|
|
583 </table>
|
|
584
|
|
585
|
|
586 <%
|
|
587 }
|
|
588 %>
|
|
589
|
|
590 </div>
|
|
591 <!--
|
|
592 <jsp:include page="../componentes/paginator.jsp">
|
|
593 <jsp:param name="formName" value="fullTextSearchForm"/>
|
|
594 </jsp:include>
|
|
595 -->
|
|
596
|
|
597 </form>
|
|
598
|
|
599 <% } %>
|
|
600
|
|
601 </div>
|
|
602
|
|
603 </body>
|
|
604 </html>
|