chkal / mvc-spec-migration-test

0 stars 0 forks source link

Bean Validation in MVC #22

Closed chkal closed 8 years ago

chkal commented 9 years ago

Original issue MVC_SPEC-22 created by Santiago Pericas-Geertsen:

JAX-RS supports bean validation. However, the error reporting mechanism may not be sufficient for MVC. In particular, controller methods may never get a chance to execute if a ConstraintViolationException is thrown during instance creation.

chkal commented 9 years ago

Comment by Santiago Pericas-Geertsen:

ValidationResult has been recently contributed by Christian K. to better suit the needs of MVC.

chkal commented 9 years ago

Comment by Santiago Pericas-Geertsen:

Support for ValidationResult as a field added to EDR. We should add support for parameter injection if made available in CDI.

chkal commented 8 years ago

Comment by Santiago Pericas-Geertsen:

ValidationResult is now BindingResult. See discussion in related issue.

chkal commented 8 years ago

Comment by Santiago Pericas-Geertsen:

Spec has been updated.