Author: niallp Date: Tue Apr 26 09:48:38 2005 New Revision: 164831 URL: http://svn.apache.org/viewcvs?rev=164831&view=rev Log: Port change for Bug #34624 to 1.2.x branch - getValidationKey in BeanValidatorForm should call mapping.getAttribute() reported by Marino Jonsson
Modified: struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/validator/BeanValidatorForm.java Modified: struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/validator/BeanValidatorForm.java URL: http://svn.apache.org/viewcvs/struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/validator/BeanValidatorForm.java?rev=164831&r1=164830&r2=164831&view=diff ============================================================================== --- struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/validator/BeanValidatorForm.java (original) +++ struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/validator/BeanValidatorForm.java Tue Apr 26 09:48:38 2005 @@ -1,5 +1,5 @@ /* - * Copyright 2004 The Apache Software Foundation. + * Copyright 2004-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -177,7 +177,7 @@ } else { - validationKey = mapping.getName(); + validationKey = mapping.getAttribute(); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]