ajaxlink does not submit the form so no validation will happen and it doesnt have an onsubmit method. you are mixing up ajaxlink, ajaxsubmitlink, and ajaxbutton.
-igor On Tue, Jun 9, 2009 at 2:30 AM, Jade<[email protected]> wrote: > Hi all, > > I am having a issue with AjaxLink and thought would get help from you. > > I have a modal window which has a form with two ajax links, few check boxes > and a AjaxButton.The check boxes are bound inside a list view. > > Now, out of the two ajax links - one ajax link is for checking all the > check boxes and other is for unchecking all of them. > > I also have validation added to the form to check at least one of the check > boxes is checked on submit. But the strange thing that happens is - whenever > the ajaxlink for none is clicked, the ajaxbutton's onSubmit is not at all > called. And the validation does not happen in the form, which I came to know > by eclipse debug sequence. > > Am I doing something wrong here, I am still very much confused why its not > called. > > Also, any advices for better implementation of the functionality would be of > great help. > > Thanks, > Jade > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
