PDA

View Full Version : Ajax form validation with MVC


nbal
Jun 10th, 2008, 05:06 PM
Greetings!
I have a requirement to display a form on the LHS of the page, and display the results on the RHS of the page (without refreshing the entire page).

I'm using Spring's AbstractFormController and the Prototype library.

I'm able to show the results successfully, however am stuck on how to handle & show server-side Validation errors.

I need the errors to be shown as usual, above the form on the LHS of the page.

Does anybody have any pointers, or a solution?

Thanks!

nbal
Jun 15th, 2008, 12:47 AM
If there's a complete aspect of Spring MVC, when it comes to Ajax integration, that I'm missing out on, please just give me a pointer as to what that aspect is, and I'll be grateful.:(