Author: pbenedict Date: Sat Jun 30 20:45:02 2007 New Revision: 552242 URL: http://svn.apache.org/viewvc?view=rev&rev=552242 Log: STR-2611: Add form name to error message
Modified: struts/struts1/trunk/core/src/main/java/org/apache/struts/validator/validwhen/ValidWhen.java Modified: struts/struts1/trunk/core/src/main/java/org/apache/struts/validator/validwhen/ValidWhen.java URL: http://svn.apache.org/viewvc/struts/struts1/trunk/core/src/main/java/org/apache/struts/validator/validwhen/ValidWhen.java?view=diff&rev=552242&r1=552241&r2=552242 ============================================================================== --- struts/struts1/trunk/core/src/main/java/org/apache/struts/validator/validwhen/ValidWhen.java (original) +++ struts/struts1/trunk/core/src/main/java/org/apache/struts/validator/validwhen/ValidWhen.java Sat Jun 30 20:45:02 2007 @@ -111,7 +111,7 @@ } catch (IllegalArgumentException ex) { String logErrorMsg = sysmsgs.getMessage("validation.failed", "validwhen", - field.getProperty(), ex.toString()); + field.getProperty(), validator.getFormName(), ex.toString()); log.error(logErrorMsg);