This would be for 2.1, and it would be in Bind.js. It is actually only one function, which will be calling the functions in validation.js(addError/clearErrors...). I'm planning to do some cleanup after that as we have some javascript/css files hanging around, which are not used.
musachy On 4/23/07, Ian Roughley <[EMAIL PROTECTED]> wrote:
Is the Ajax code all in a module now (2.1.x)? Would this change be checked into the 2.0.x branch or just the trunk under the Ajax module, and then some cleanup/removal of existing code in the trunk? /Ian Musachy Barroso wrote: > 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 > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- "Hey you! Would you help me to carry the stone?" Pink Floyd