dgraham 2003/02/26 20:20:42 Modified: doc/userGuide building_view.xml Log: Added note to validator section regarding the converNull servlet parameter and required validations of java.lang.Integer fields. Revision Changes Path 1.29 +7 -0 jakarta-struts/doc/userGuide/building_view.xml Index: building_view.xml =================================================================== RCS file: /home/cvs/jakarta-struts/doc/userGuide/building_view.xml,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- building_view.xml 27 Feb 2003 04:15:23 -0000 1.28 +++ building_view.xml 27 Feb 2003 04:20:42 -0000 1.29 @@ -539,6 +539,13 @@ </p> <p> + <strong>Note:</strong> If your required form property is one of the Java object representations of + primitive types (ie. java.lang.Integer), you must set the ActionServlet's convertNull init. + parameter to true. Failing to do this will result in the required validation not being performed + on that field because it will default to 0. + </p> + + <p> For more about the Struts Validator, see the <a href="./dev_validator.html">Developers Guide</a>. </p>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]