Creating new versions that can handle multi-valued parameters for Edit Configuration and n3 editing

This commit is contained in:
hjkhjk54 2011-07-01 21:43:59 +00:00
parent fd7c20047f
commit 263cca2727
26 changed files with 2660 additions and 366 deletions

View file

@ -24,6 +24,15 @@ public static Log log = LogFactory.getLog("edu.cornell.mannlib.vitro.webapp.jsp.
<vitro:confirmAuthorization />
<%
//Check if special model, in which case forward
if(request.getParameter("switchToDisplayModel") != null) {
//forward to Edit Request Dispatch Controller
String queryString = request.getQueryString();
System.out.println("Query string is " + queryString);
System.out.println("Servlet path is " + request.getServletPath() + " and context path si " + request.getContextPath());
response.sendRedirect("http://localhost:8080/vivo/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.