View tool that works with Struts Validator to
produce client side javascript validation for your forms.
Usage:
Template example:
$validator.getJavascript("nameOfYourForm")
Toolbox configuration:
<tool>
<key>validator</key>
<scope>request</scope>
<class>org.apache.velocity.tools.struts.ValidatorTool</class>
</tool>
This is an adaptation of the JavascriptValidatorTag
from the Struts 1.1 validator library.
author: David Winterfeldt author: David Graham author: Marino A. |