I have a form with an onSubmit(). The form contains a AjaxButton
with another onSubmit(). When the later gets called, the former gets
invoked, too. What I want, however, is that the form's onSubmit()
gets called iff the <input type="submit">-button is clicked, and that
the AjaxButton's onSubmit() is called iff the <input type="button">-
button is pressed.

How can I achieve this?

I tried calling setDefaultFormProcessing(false) on my AjaxButton,
but that does not update the form values (not what I want). I also
tried form.setDefaultButton(null) or form.setDefaultButton(submit),
which didn't help either.

Thanks,
Kaspar

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to