NIHVIVO-646 Add cancelUrl parameter to submit tag in InputElementFormattingTags so that the cancel button can redirect to a different page from the form submission. Change cancel values in submit tags in vitro and vivo forms to "true" where previously they specified a uri, because the uri is misleading (it doesn't control the redirect location). Removed edit submission preprocessing due to problems with cloning.
This commit is contained in:
parent
cbe3f24250
commit
97a753b66e
17 changed files with 76 additions and 52 deletions
|
@ -98,7 +98,7 @@
|
|||
<h2>Upload a File</h2>
|
||||
<form action="<c:url value="/edit/processRdfForm2.jsp"/>" ENCTYPE="multipart/form-data" method="POST">
|
||||
File <v:input type="file" id="fileResource" />
|
||||
<v:input type="submit" id="submit" value="submit" cancel="${param.subjectUri}"/>
|
||||
<v:input type="submit" id="submit" value="submit" cancel="true"/>
|
||||
</form>
|
||||
|
||||
<jsp:include page="${postForm}"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue