diff src/main/java/de/mpiwg/web/jsp/JSPProxy.java @ 31:c8d367a4bbcd

new: user updates label in branch
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Thu, 24 Sep 2015 13:35:39 +0200
parents 07f7594ba56e
children 74fe1518bc5c
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/web/jsp/JSPProxy.java	Fri Sep 11 15:54:01 2015 +0200
+++ b/src/main/java/de/mpiwg/web/jsp/JSPProxy.java	Thu Sep 24 13:35:39 2015 +0200
@@ -39,6 +39,8 @@
 					getSessionBean().getBranchPage().deleteFile();
 				}else if(StringUtils.equals(action, "publishFile")){
 					getSessionBean().getBranchPage().publishFile();
+				}else if(StringUtils.equals(action, "updateLabel")){
+					getSessionBean().getBranchPage().updateLabel();
 				}
 				
 				return BranchPage.page;
@@ -77,8 +79,8 @@
 					getSessionBean().logout();
 				}
 				
-				return BooksPage.page;	// TMP: make the default page after login to be "Books" page for TOC editing task
-				//return "pages/home.jsp";
+				//return BooksPage.page;	// TMP: make the default page after login to be "Books" page for TOC editing task
+				return "pages/home.jsp";
 				
 			}else if(StringUtils.equals(bean, SearchPage.bean)){
 				getSessionBean().getSearchPage().loadParameters(request, response);