I have this working, but I want to give it a little more time to anyone to object before committing it :), just to review, these are the different validation options:
1. regular form, regular submit button (normal validation) 2. css_html form, or xhtml form (validate="true"), regular submit button (client validation) 3. css_html form, or xhtml form (validate="true"), ajax submit button (client validation) 4. regular form, css_html form, or xhtml form, where action has the "ajaxValidation" interceptor, ajax submit button (validate="true") (ajax validation = dojo+interceptor, no DWR) regards musachy On 4/21/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
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
-- "Hey you! Would you help me to carry the stone?" Pink Floyd