I'd like to propose a change on the way we do ajax validation. Instead of
using DWR which requires an external dependency and configuring a servlet,
I'd like to have an interceptor in the dojo plugin that extends the
validator interceptor, which outputs JSON with the messages when there are
validation errors.

To use ajax validation all a user would have to do is add the interceptor to
his/her class and set "validate" to "true" in either the form, or the
submit/anchor that is submitting the form.

regards
musachy
--
"Hey you! Would you help me to carry the stone?" Pink Floyd

Reply via email to