updates to writing out of error messages
This commit is contained in:
parent
2278d1a365
commit
a63d2722ab
2 changed files with 3 additions and 7 deletions
|
@ -41,7 +41,7 @@
|
||||||
<p>
|
<p>
|
||||||
<#--below shows examples of both printing out all error messages and checking the error message for a specific field-->
|
<#--below shows examples of both printing out all error messages and checking the error message for a specific field-->
|
||||||
<#list submissionErrors?keys as errorFieldName>
|
<#list submissionErrors?keys as errorFieldName>
|
||||||
${errorFieldName} : ${submissionErrors[errorFieldName]} <br/>
|
${submissionErrors[errorFieldName]} <br/>
|
||||||
</#list>
|
</#list>
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
|
@ -89,11 +89,7 @@
|
||||||
</script>
|
</script>
|
||||||
</#list>
|
</#list>
|
||||||
|
|
||||||
<#--// A new author will be ranked last when added.
|
|
||||||
// This value is now inserted by JavaScript, but leave it here as a safety net in case page
|
|
||||||
// load reordering returns an error.
|
|
||||||
request.setAttribute("newRank", maxRank + 1);
|
|
||||||
request.setAttribute("rankPredicate", rankPredicateUri);-->
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
<p>
|
<p>
|
||||||
<#--below shows examples of both printing out all error messages and checking the error message for a specific field-->
|
<#--below shows examples of both printing out all error messages and checking the error message for a specific field-->
|
||||||
<#list submissionErrors?keys as errorFieldName>
|
<#list submissionErrors?keys as errorFieldName>
|
||||||
${errorFieldName} : ${submissionErrors[errorFieldName]} <br/>
|
${submissionErrors[errorFieldName]} <br/>
|
||||||
</#list>
|
</#list>
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Add table
Reference in a new issue