dwinterfeldt 02/03/16 16:22:53
Modified: validator/src/share/org/apache/commons/validator
ValidatorAction.java
Log:
Changed default methodParams signature to be generic (bean, ValidatorAction, Field)
and the old Struts default signature.
Revision Changes Path
1.4 +4 -6
jakarta-commons/validator/src/share/org/apache/commons/validator/ValidatorAction.java
Index: ValidatorAction.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/validator/src/share/org/apache/commons/validator/ValidatorAction.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ValidatorAction.java 13 Mar 2002 05:39:32 -0000 1.3
+++ ValidatorAction.java 17 Mar 2002 00:22:53 -0000 1.4
@@ -102,7 +102,8 @@
/**
* <p>The method signature of the validation method. This
* should be a comma delimited list of the full
- * class names of each parameter that the method takes.</p>
+ * class names of each parameter in the correct order
+ * that the method takes.</p>
*
* <p>Note: <code>java.lang.Object</code> is reserved for the
* JavaBean that is being validated. The <code>ValidatorAction</code>
@@ -111,11 +112,8 @@
* specified in the method signature.</p>
*/
private String methodParams = Validator.BEAN_KEY + "," +
- Validator.VALIDATOR_ACTION_KEY + "," +
- Validator.FIELD_KEY + "," +
- Validator.ACTION_ERRORS_KEY + "," +
- Validator.HTTP_SERVLET_REQUEST_KEY + "," +
- Validator.SERVLET_CONTEXT_KEY;
+ Validator.VALIDATOR_ACTION_KEY + "," +
+ Validator.FIELD_KEY;
/**
* The other <code>ValidatorAction</code>s that this
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>