In JSR-303, adding a custom field validator is a two step process.
- Create an annotation which will be placed on a field to be validated
- Create a validator which implements
ConstraintValidatorand link it to the above annotation
Blog about Tapestry5, Plastic and related technologies
In JSR-303, adding a custom field validator is a two step process.
ConstraintValidator and link it to the above annotation