NIHVIVO-377 Initial work on getting custom form to retrieve its past state after a failed form submission. Not all cases working yet.
This commit is contained in:
parent
56b92576f3
commit
5579c1a9ac
1 changed files with 5 additions and 2 deletions
|
@ -95,7 +95,10 @@ are well formed.
|
|||
if( errors != null && ! errors.isEmpty() ){
|
||||
String form = editConfig.getFormUrl();
|
||||
vreq.setAttribute("formUrl", form);
|
||||
%><jsp:forward page="${formUrl}"/><%
|
||||
vreq.setAttribute("view", vreq.getParameter("view"));
|
||||
%>
|
||||
<jsp:forward page="${formUrl}" />
|
||||
<%
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue