onBindAndValidate « Web « Spring Q&A





1. Putting values in error.getModel in onBindAndValidate    stackoverflow.com

I want to add some data to model if there wasn't any validation errors. I thought I could do this in onBindAndValidate, where I have the access to error object, which ...

2. validation logic and onBindAndValidate    forum.springsource.org

validation logic and onBindAndValidate I have a web page with a table that is backed by a collection of domain objects. I need to enforce that the minDemand property of the ...

3. onBindAndValidate vs Validator    forum.springsource.org

Personally, I like to put all of my validation code into separate validator classes. Validation code is potentially reusable, and having it in a separate class allows me to reuse it ...