Monday, April 23, 2007

Spring Framework - Two Articles on Form Validation with DWR and AJAX

Spring Framework - Two Articles on Form Validation with DWR and AJAX
Submitted by Colin Sampaleanu on Thu, 2007-04-19 23:09. Technical Article
Using AJAX (via DWR) to perform client-side validation is a useful technique that allows the implementation of both client side and server side form validation, while actually using the same (server-side) validators for both task. Here are a couple of articles that describe this technique.
Generic Validator for Spring MVC and DWR by Jose Noheda, shows one approach. His validators work off annotations in the objects to be validated (this is somewhat orthogonal to the question of validating remotely).


ForwardSourceID:NT00009002

No comments: