Mercurial > hg > LGServer
comparison src/main/java/de/mpiwg/web/SearchBean.java @ 10:5610250d021a default tip
SectionsIndex, we added a method to print the setting of the VM
author | "jurzua <jurzua@mpiwg-berlin.mpg.de>" |
---|---|
date | Thu, 19 Mar 2015 11:46:33 +0100 |
parents | 5316e79f9a27 |
children |
comparison
equal
deleted
inserted
replaced
9:964fc53abeec | 10:5610250d021a |
---|---|
112 }else{ | 112 }else{ |
113 this.currentSectionList = completeSectionList.subList(startRecord, startRecord + this.advancedPaginator.getItemsPerPage()); | 113 this.currentSectionList = completeSectionList.subList(startRecord, startRecord + this.advancedPaginator.getItemsPerPage()); |
114 } | 114 } |
115 | 115 |
116 for(DBSection section : this.currentSectionList){ | 116 for(DBSection section : this.currentSectionList){ |
117 /* | |
117 try { | 118 try { |
118 section.setBook(DBService.getBook(section.getBookId())); | 119 section.setBook(DBService.getInstance().getBook(section.getBookId())); |
119 } catch (SQLException e) { | 120 } catch (SQLException e) { |
120 e.printStackTrace(); | 121 e.printStackTrace(); |
121 } | 122 }*/ |
122 section.setBranches(this.branchesMap.get(section.getId())); | 123 section.setBranches(this.branchesMap.get(section.getId())); |
123 } | 124 } |
124 } | 125 } |
125 | 126 |
126 public String advancedFirst() { | 127 public String advancedFirst() { |