WebWork relies on XWork's validation framework to enable the application of input validation rules to your Actions before they are executed. This section only provides the bare minimum to get you started and focuses on WebWork's extension of the XWork validators to support client-side validation.
Please consult XWork's validation framework documentation for complete details.
Reference pages
- Simple validators
- Visitor validation
- Client-Side Validation
- Validation Examples
Registering Validators
Error formatting macro: snippet: java.lang.NullPointerException
This list declares all the validators that comes with WebWork.
Error formatting macro: snippet: java.lang.NullPointerException
Error formatting macro: snippet: java.lang.NullPointerException
Warning
Error formatting macro: snippet: java.lang.NullPointerException
Turning on Validation
Error formatting macro: snippet: java.lang.NullPointerException
Error formatting macro: snippet: java.lang.NullPointerException
Note: The default validationWorkflowStack already includes this.
Validator Scopes
Error formatting macro: snippet: java.lang.NullPointerException
Error formatting macro: snippet: java.lang.NullPointerException
Notes
Error formatting macro: snippet: java.lang.NullPointerException
Defining Validation Rules
Error formatting macro: snippet: java.lang.NullPointerException
Error formatting macro: snippet: java.lang.NullPointerException
Error formatting macro: snippet: java.lang.NullPointerException
Error formatting macro: snippet: java.lang.NullPointerException
Error formatting macro: snippet: java.lang.NullPointerException
Error formatting macro: snippet: java.lang.NullPointerException
Validator Flavour
Error formatting macro: snippet: java.lang.NullPointerException
Non-Field Validator Vs Field-Validator
Error formatting macro: snippet: java.lang.NullPointerException
Error formatting macro: snippet: java.lang.NullPointerException
Error formatting macro: snippet: java.lang.NullPointerException
Error formatting macro: snippet: java.lang.NullPointerException
Error formatting macro: snippet: java.lang.NullPointerException
Error formatting macro: snippet: java.lang.NullPointerException
Error formatting macro: snippet: java.lang.NullPointerException
Short-Curcuiting Validator
Error formatting macro: snippet: java.lang.NullPointerException
Error formatting macro: snippet: java.lang.NullPointerException
Error formatting macro: snippet: java.lang.NullPointerException
Error formatting macro: snippet: java.lang.NullPointerException
Error formatting macro: snippet: java.lang.NullPointerException
Error formatting macro: snippet: java.lang.NullPointerException
How Validators of an Action Are found
Error formatting macro: snippet: java.lang.NullPointerException