Commits

Anonymous committed 893c3c2

com.opensymphony.xwork2.validator.ValidationInterceptor cannot inject param validateAnnotatedMethodOnly
o patch applied

Issue Number: XW-497

git-svn-id: http://svn.opensymphony.com/svn/xwork/branches/2.0@1419e221344d-f017-0410-9bd5-d282ab1896d7

Comments (0)

Files changed (1)

src/java/com/opensymphony/xwork2/validator/ValidationInterceptor.java

      *
      * @param validateAnnotatedMethodOnly
      */
-    public void setValidateAnnotatedMethodOnly(String validateAnnotatedMethodOnly) {
-        this.validateAnnotatedMethodOnly = Boolean.parseBoolean(validateAnnotatedMethodOnly);
+    public void setValidateAnnotatedMethodOnly(boolean validateAnnotatedMethodOnly) {
+        log.error("Settiong validateAnnotatedMethodOnly=" + validateAnnotatedMethodOnly);
+        this.validateAnnotatedMethodOnly = validateAnnotatedMethodOnly;
     }
 
     /**