-
Dec 1st, 2010, 08:34 AM
#1
setup error view using annotation without using bindingResult.
Hi i notice one of the change of going from xml configuration of SimpleFormController to annotation is that i need to add BindingResult parameter to my code that does validation. Than in the code if (result.hasError()) return formView. is their way good way to have it automatically register the form_view vs. success view in non xml fashion?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules