Apr 5th, 2012, 09:53 PM
Can you use a spring validator with model annotations (jsr 303)?
I'd like to keep my validations at the model annotation level using jsr 303.
On my form pages, can I still use a spring validator along with model level annotations?
I have a form that has 2 models on it, and not sure how to validate using a bindingresult when I have form fields from 2 models (not all the fields, just some).
So on postback, I want to first manually set some properties on both models, and THEN perform validation.
how can I do this?
Tags for this Thread