rleland 02/03/17 21:14:27 Modified: src/share/org/apache/struts/validator DynaValidatorActionForm.java Log: Fix JavDoc tag. Revision Changes Path 1.2 +12 -12 jakarta-struts/src/share/org/apache/struts/validator/DynaValidatorActionForm.java Index: DynaValidatorActionForm.java =================================================================== RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/validator/DynaValidatorActionForm.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- DynaValidatorActionForm.java 18 Mar 2002 01:42:51 -0000 1.1 +++ DynaValidatorActionForm.java 18 Mar 2002 05:14:27 -0000 1.2 @@ -51,8 +51,8 @@ * information on the Apache Software Foundation, please see * <http://www.apache.org/>. */ - - + + package org.apache.struts.validator; import java.io.Serializable; @@ -72,13 +72,13 @@ /** - * <p>This class extends <strong>DynaValidatorForm/strong> and provides - * basic field validation based on an XML file. The key passed into the - * validator is the action element's 'path' attribute from the - * struts-config.xml which should match the form element's name attribute + * <p>This class extends <strong>DynaValidatorForm</strong> and provides + * basic field validation based on an XML file. The key passed into the + * validator is the action element's 'path' attribute from the + * struts-config.xml which should match the form element's name attribute * in the validation.xml.</p> * - * <ul><li>See <code>ValidatorPlugin</code> definition in struts-config.xml + * <ul><li>See <code>ValidatorPlugin</code> definition in struts-config.xml * for validation rules.</li></ul> * * @since 1.1 @@ -106,13 +106,13 @@ HttpServletRequest request) { ServletContext application = getServlet().getServletContext(); - ActionErrors errors = new ActionErrors(); - - Validator validator = StrutsValidatorUtil.initValidator(mapping.getPath(), + ActionErrors errors = new ActionErrors(); + + Validator validator = StrutsValidatorUtil.initValidator(mapping.getPath(), this, - application, request, + application, request, errors, page); - + try { validator.validate(); } catch (ValidatorException e) {
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>