Category Archives: JSR-303

Tapestry Magic #12 : Tapestry IOC aware JSR-303 Custom Validators

In JSR-303, adding a custom field validator is a two step process.

  1. Create an annotation which will be placed on a field to be validated
  2. Create a validator which implements ConstraintValidator and link it to the above annotation

Continue reading

%d bloggers like this: