Mercurial > hg > LGServices
diff src/main/java/de/mpiwg/web/jsp/JSPProxy.java @ 14:3387d855a194
new: toc status in books page
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Fri, 29 May 2015 11:00:09 +0200 |
parents | 9c6e74761f60 |
children | d81a5401b9af |
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/web/jsp/JSPProxy.java Wed May 27 15:30:09 2015 +0200 +++ b/src/main/java/de/mpiwg/web/jsp/JSPProxy.java Fri May 29 11:00:09 2015 +0200 @@ -148,7 +148,19 @@ return SearchPage.page; - } + } else if(StringUtils.equals(bean, BooksPage.bean)){ + getSessionBean().getBooksPage().loadParameters(request, response); + + if(StringUtils.equals(action, "setTocCorrection")){ + getSessionBean().getBooksPage().setTocCorrection(); + } else if (StringUtils.equals(action, "unSetTocCorrection")){ + getSessionBean().getBooksPage().unSetTocCorrection(); + } else if (StringUtils.equals(action, "forceReloadBooks")) { + getSessionBean().getBooksPage().forceLoadBooks(); + } + + return BooksPage.page; + } }catch(Exception e){ e.printStackTrace();