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:
rjy7 2010-04-13 23:05:28 +00:00
parent b5db8baf0e
commit 83d1b564ef
3 changed files with 40 additions and 31 deletions

View file

@ -311,6 +311,7 @@ the type still gets asserted. --%>
%>
<c:set var="requiredHint" value="<span class='requiredHint'> *</span>" />
<c:set var="view" value='<%= vreq.getAttribute("view") %>' />
<jsp:include page="${preForm}" />
@ -349,6 +350,7 @@ the type still gets asserted. --%>
<%-- RY If set steps to 1 when editType == 'edit', may be able to combine the
step 1 and edit cases in the Javascript. --%>
<input type="hidden" name="steps" value="2" />
<input type="hidden" name="view" value="${view}" />
<p class="submit"><v:input type="submit" id="submit" value="${submitLabel}" cancel="${param.subjectUri}"/></p>