Commits

mrdon  committed 7e8d5ba

Ensuring full field name used for errors WW-2331

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@1742e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits 7766873

Comments (0)

Files changed (1)

File src/java/com/opensymphony/xwork2/validator/validators/VisitorFieldValidator.java

         }
 
         public void addActionError(String anErrorMessage) {
-            super.addFieldError(field, message + anErrorMessage);
+            super.addFieldError(getFullFieldName(field), message + anErrorMessage);
         }
 
         public void addFieldError(String fieldName, String errorMessage) {