rleland 2004/03/24 20:52:23 Modified: conf/share validator-rules.xml Log: Have validator bring in Utility functions. Revision Changes Path 1.49 +15 -4 jakarta-struts/conf/share/validator-rules.xml Index: validator-rules.xml =================================================================== RCS file: /home/cvs/jakarta-struts/conf/share/validator-rules.xml,v retrieving revision 1.48 retrieving revision 1.49 diff -u -r1.48 -r1.49 --- validator-rules.xml 11 Dec 2003 05:52:58 -0000 1.48 +++ validator-rules.xml 25 Mar 2004 04:52:23 -0000 1.49 @@ -259,7 +259,18 @@ javax.servlet.http.HttpServletRequest" depends="" msg="errors.email"/> - + <!-- + This simply allows struts to include the validateUtilities into a page, it should + not be used as a validation rule. + --> + <validator name="includeJavaScriptUtilities" + classname="" + method="" + methodParams="" + depends="" + msg="" + jsFunction="org.apache.commons.validator.javascript.validateUtilities"/> + /> </global>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]