Mercurial > hg > LGServices
comparison src/main/webapp/pages/fullTextSearch.jsp @ 40:35ed4e650a53
bug fixed: full text search when section not found in section_index table. add paginator
| author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
|---|---|
| date | Mon, 07 Dec 2015 17:06:57 +0100 |
| parents | 37840afb7b80 |
| children | ba9515f22897 |
comparison
equal
deleted
inserted
replaced
| 39:37840afb7b80 | 40:35ed4e650a53 |
|---|---|
| 205 | 205 |
| 206 <% | 206 <% |
| 207 if (sessionBean.getFullTextSearchPage().getCompleteList() != null) { | 207 if (sessionBean.getFullTextSearchPage().getCompleteList() != null) { |
| 208 %> | 208 %> |
| 209 | 209 |
| 210 <!-- | 210 |
| 211 <jsp:include page="../componentes/paginator.jsp"> | 211 <jsp:include page="../componentes/paginator.jsp"> |
| 212 <jsp:param name="formName" value="fullTextSearchForm"/> | 212 <jsp:param name="formName" value="fullTextSearchForm"/> |
| 213 </jsp:include> | 213 </jsp:include> |
| 214 --> | 214 |
| 215 | 215 |
| 216 <div class="tableDiv double-scroll"> | 216 <div class="tableDiv double-scroll"> |
| 217 <table class="pageTable"> | 217 <table class="pageTable"> |
| 218 <tbody> | 218 <tbody> |
| 219 <tr> | 219 <tr> |
| 534 <th><label class="tableTitle">Select rows</th> | 534 <th><label class="tableTitle">Select rows</th> |
| 535 </tr> | 535 </tr> |
| 536 | 536 |
| 537 | 537 |
| 538 <% | 538 <% |
| 539 for (DBContents content : sessionBean.getFullTextSearchPage().getFilteredList() ) { | 539 for (DBContents content : sessionBean.getFullTextSearchPage().getDisplayList() ) { |
| 540 %> | 540 %> |
| 541 | 541 |
| 542 <% if ( content.isRemoved() ) { %> | 542 <% if ( content.isRemoved() ) { %> |
| 543 <tr class="removedContent"> | 543 <tr class="removedContent"> |
| 544 <% } else { %> | 544 <% } else { %> |
| 545 <tr> | 545 <tr> |
| 546 <% } %> | 546 <% } %> |
| 547 | 547 |
| 548 <td><%=content.getInx() %></td> | 548 <td><%=content.getInx() %></td> |
| 549 <td><%=content.getSection().getBook().getId() %></td> | 549 <td><%=content.getBookId() %></td> |
| 550 <td><%=content.getSection().getBook().getName()%></td> | 550 <td><%=content.getSection().getBook().getName()%></td> |
| 551 <td><%=content.getSection().getBook().getLevel1()%></td> | 551 <td><%=content.getSection().getBook().getLevel1()%></td> |
| 552 <td><%=content.getSection().getBook().getLevel2()%></td> | 552 <td><%=content.getSection().getBook().getLevel2()%></td> |
| 553 <td><%=content.getSection().getBook().getDynasty()%></td> | 553 <td><%=content.getSection().getBook().getDynasty()%></td> |
| 554 <td><%=content.getSection().getBook().getPeriod()%></td> | 554 <td><%=content.getSection().getBook().getPeriod()%></td> |
| 586 <% | 586 <% |
| 587 } | 587 } |
| 588 %> | 588 %> |
| 589 | 589 |
| 590 </div> | 590 </div> |
| 591 <!-- | 591 |
| 592 <jsp:include page="../componentes/paginator.jsp"> | 592 <jsp:include page="../componentes/paginator.jsp"> |
| 593 <jsp:param name="formName" value="fullTextSearchForm"/> | 593 <jsp:param name="formName" value="fullTextSearchForm"/> |
| 594 </jsp:include> | 594 </jsp:include> |
| 595 --> | 595 |
| 596 | 596 |
| 597 </form> | 597 </form> |
| 598 | 598 |
| 599 <% } %> | 599 <% } %> |
| 600 | 600 |
