rleland 2002/11/14 11:25:15 Modified: doc/userGuide dev_validator.xml Log: Document the need to change the dtd the validator.xml file points to. Revision Changes Path 1.13 +31 -15 jakarta-struts/doc/userGuide/dev_validator.xml Index: dev_validator.xml =================================================================== RCS file: /home/cvs/jakarta-struts/doc/userGuide/dev_validator.xml,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- dev_validator.xml 11 Nov 2002 21:33:04 -0000 1.12 +++ dev_validator.xml 14 Nov 2002 19:25:15 -0000 1.13 @@ -21,24 +21,11 @@ </p> <p> -Struts 1.1 has added additional functionality over the original validator -contributed by David Winterfeldt. +Changes in the validator behavior and deprecation of functionality from original validator </p> - <ul> <li> - Conditionally required fields -</li> -<li> - intRange() & floatRange() methods in both JavaScript and Java -</li> -</ul> -<p> -There have also been changes in the validator behavior and deprecation of functionality -</p> -<ul> -<li> - The validator xml files now validate against the DTD stored in the commons-validator.jar. + The validator xml files now <strong>validates against the DTD stored in the commons-validator.jar </strong>! </li> <li> The default validator-rules.xml now ignores blank fields for all the basic validation types. @@ -55,7 +42,36 @@ Deprecation of StrutsValidator & StrutsValidatorUtil </li> </ul> +<p> +Struts 1.1 has also added additional functionality over the original validator +contributed by David Winterfeldt. +</p> + +<ul> +<li> + Conditionally required fields +</li> +<li> + intRange() & floatRange() methods in both JavaScript and Java +</li> +</ul> +</section> +<section href="validator-changes" name="Changes and deprecations"> + +<p> <strong>Validating against the DTD in the commons-validator.jar. </strong></p> +<p> Struts no longer maintains a seperate dtd for validator-rules.xml and validator.xml. + Additionally, commons-validator now maintains a unified validator.dtd. + Change all validator.xml DTD references to: +<ol><pre> + <!DOCTYPE form-validation PUBLIC + "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN" + "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd"> +</pre></ol> +</p> +</section> +<section href="validator-new" name="New features"> +<p> <strong>Conditionally required fields. </strong></p> <p> The most fundamental change is the ability to conditionally require validator fields based on the value of other fields.
-- To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>