: [Wicket-user] AjaxSubmitButton - Cancel
ah, well, thats easy
use ajaxlink instead of ajaxsubmitbutton - since you do not want to submit
anything, in onclick clear the bean the form is attached to and hide the
form.
-igor
On 6/14/07, John Carlson [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote
I have a form with two ajaxbuttons, submit and cancel. The form has a
number of textfields that validate themselves 'onblur' using
ajaxformcomponentupdatingbehaviour. What is the cleanest way to have
the cancel button ignore the validation that the submit button is
following? I know regular
On 6/14/07, John Carlson [EMAIL PROTECTED] wrote:
I have a form with two ajaxbuttons, submit and cancel. The form has a
number of textfields that validate themselves 'onblur' using
ajaxformcomponentupdatingbehaviour. What is the cleanest way to have
the cancel button ignore the validation
-user] AjaxSubmitButton - Cancel
On 6/14/07, John Carlson [EMAIL PROTECTED] wrote:
I have a form with two ajaxbuttons, submit and cancel. The form has a
number of textfields that validate themselves 'onblur' using
ajaxformcomponentupdatingbehaviour. What is the cleanest way to have
the cancel
PROTECTED] On Behalf Of Eelco
Hillenius
Sent: Thursday, June 14, 2007 9:29 AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] AjaxSubmitButton - Cancel
On 6/14/07, John Carlson [EMAIL PROTECTED] wrote:
I have a form with two ajaxbuttons, submit and cancel. The form has a
number
PROTECTED] On Behalf Of Igor
Vaynberg
Sent: Thursday, June 14, 2007 12:47 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] AjaxSubmitButton - Cancel
you simply cannot do that, because it doesnt make sense
lets say you have add(new TextField(num, Integer.class)) and the user
:* Thursday, June 14, 2007 12:47 PM
*To:* wicket-user@lists.sourceforge.net
*Subject:* Re: [Wicket-user] AjaxSubmitButton - Cancel
you simply cannot do that, because it doesnt make sense
lets say you have add(new TextField(num, Integer.class)) and the user
enters abc. if you skip the validation