I updated the JavascriptValidatorTag.java file to add to reflect the changes to commons-validator. There is still a warning having to do with the servlet api methods being deprecated. This is not related to commons-validator however. This change puts struts-dev 1.2 and struts-faces 0.5 on the same version of the validator.jar. This seems natural to me. It is both typed below and attached. Is this the correct way to submit a patch?
Index: JavascriptValidatorTag.java =================================================================== RCS file: /home/cvspublic/jakarta-struts/contrib/struts-faces/src/java/org/apache/stru ts/faces/taglib/JavascriptValidatorTag.java,v retrieving revision 1.4 diff -r1.4 JavascriptValidatorTag.java 41c41 < import org.apache.commons.validator.ValidatorUtil; --- > import org.apache.commons.validator.util.ValidatorUtils; 278c278 < Form form = resources.get(locale, formName); --- > Form form = resources.getForm(locale, formName); 293c293 < for (Iterator x = field.getDependencies().iterator(); x.hasNext();) { --- > for (Iterator x = field.getDependencyList().iterator(); x.hasNext();) { 341c341 < return va1.getDependencies().size() - va2.getDependencies().size(); --- > return va1.getDependencyList().size() - va2.getDependencyList().size(); 422c422 < + ValidatorUtil.replace( --- > + ValidatorUtils.replace( 432c432 < + ValidatorUtil.replace( --- > + ValidatorUtils.replace( 442c442 < + ValidatorUtil.replace( --- > + ValidatorUtils.replace( 453c453 < + ValidatorUtil.replace( --- > + ValidatorUtils.replace( 463c463 < + ValidatorUtil.replace( --- > + ValidatorUtils.replace(
Index: JavascriptValidatorTag.java =================================================================== RCS file: /home/cvspublic/jakarta-struts/contrib/struts-faces/src/java/org/apache/struts/faces/taglib/JavascriptValidatorTag.java,v retrieving revision 1.4 diff -r1.4 JavascriptValidatorTag.java 41c41 < import org.apache.commons.validator.ValidatorUtil; --- > import org.apache.commons.validator.util.ValidatorUtils; 278c278 < Form form = resources.get(locale, formName); --- > Form form = resources.getForm(locale, formName); 293c293 < for (Iterator x = field.getDependencies().iterator(); x.hasNext();) { --- > for (Iterator x = field.getDependencyList().iterator(); > x.hasNext();) { 341c341 < return va1.getDependencies().size() - va2.getDependencies().size(); --- > return va1.getDependencyList().size() - > va2.getDependencyList().size(); 422c422 < + ValidatorUtil.replace( --- > + ValidatorUtils.replace( 432c432 < + ValidatorUtil.replace( --- > + ValidatorUtils.replace( 442c442 < + ValidatorUtil.replace( --- > + ValidatorUtils.replace( 453c453 < + ValidatorUtil.replace( --- > + ValidatorUtils.replace( 463c463 < + ValidatorUtil.replace( --- > + ValidatorUtils.replace(
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]