From a63d2722abcdef23e7d4b73aadcd3401ed96812f Mon Sep 17 00:00:00 2001 From: hjkhjk54 Date: Tue, 22 Nov 2011 22:02:13 +0000 Subject: [PATCH] updates to writing out of error messages --- .../edit/forms/addAuthorsToInformationResource.ftl | 8 ++------ .../freemarker/edit/forms/addPublicationToPerson.ftl | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/productMods/templates/freemarker/edit/forms/addAuthorsToInformationResource.ftl b/productMods/templates/freemarker/edit/forms/addAuthorsToInformationResource.ftl index 755cf2bd..85d8dc6f 100644 --- a/productMods/templates/freemarker/edit/forms/addAuthorsToInformationResource.ftl +++ b/productMods/templates/freemarker/edit/forms/addAuthorsToInformationResource.ftl @@ -41,7 +41,7 @@

<#--below shows examples of both printing out all error messages and checking the error message for a specific field--> <#list submissionErrors?keys as errorFieldName> - ${errorFieldName} : ${submissionErrors[errorFieldName]}
+ ${submissionErrors[errorFieldName]}

@@ -89,11 +89,7 @@ - <#--// 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);--> + diff --git a/productMods/templates/freemarker/edit/forms/addPublicationToPerson.ftl b/productMods/templates/freemarker/edit/forms/addPublicationToPerson.ftl index 86c8d9c0..5a871d14 100644 --- a/productMods/templates/freemarker/edit/forms/addPublicationToPerson.ftl +++ b/productMods/templates/freemarker/edit/forms/addPublicationToPerson.ftl @@ -38,7 +38,7 @@

<#--below shows examples of both printing out all error messages and checking the error message for a specific field--> <#list submissionErrors?keys as errorFieldName> - ${errorFieldName} : ${submissionErrors[errorFieldName]}
+ ${submissionErrors[errorFieldName]}