This commit is contained in:
hjkhjk54 2011-11-04 14:18:26 +00:00
parent d1ecaccc5b
commit 693ac3db8f
2 changed files with 15 additions and 2 deletions

View file

@ -30,9 +30,15 @@ public static Log log = LogFactory.getLog("edu.cornell.mannlib.vitro.webapp.jsp.
//forward to Edit Request Dispatch Controller
String queryString = request.getQueryString();
//Instead of edit request which is what we'll do later, here we'll forward to Menu Management Controller
//response.sendRedirect("editRequestDispatch?" + queryString);
response.sendRedirect(request.getContextPath() + "/editDisplayModel?" + queryString);
}
//This is our way fo being able to test the new edit configuration
//TODO: Remove this when testing done
if(request.getParameter("testEdit") != null) {
String queryString = request.getQueryString();
response.sendRedirect(request.getContextPath() + "/editRequestDispatch?" + queryString);
}
/*
Decide which form to forward to, set subjectUri, subjectUriJson, predicateUri, and predicateUriJson in request.
Also get the Individual for the subjectUri and put it in the request scope.