THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Note | ||
---|---|---|
| ||
When using a Field Validator, Field Validator Syntax is ALWAYS preferable than using the Plain Validator Syntax as it facilitates grouping of field-validators according to fields. This is very handy especially if a field needs to have many field-validators which is almost always the case. Examples: validatortypes |
- required conversion validator
- requiredstring date validator
- int double validator
- date email validator
- expression validator
- fieldexpression validator
- email int validator
- url regex validator
- visitor required validator
- conversion requiredstring validator
- stringlength validator
- url validator
- visitor regex validator
Registering Validators
Wiki Markup |
---|
{snippet:id=javadoc|javadoc=true|url=xwork2/src/java/com/opensymphony/xwork2/validator/ValidatorFactory.java} |
...