Re: [Wicket-user] AjaxSubmitButton - Cancel

2007-06-15 Thread Seldon, Richard
: [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

[Wicket-user] AjaxSubmitButton - Cancel

2007-06-14 Thread John Carlson
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

Re: [Wicket-user] AjaxSubmitButton - Cancel

2007-06-14 Thread Eelco Hillenius
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

Re: [Wicket-user] AjaxSubmitButton - Cancel

2007-06-14 Thread John Carlson
-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

Re: [Wicket-user] AjaxSubmitButton - Cancel

2007-06-14 Thread Igor Vaynberg
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

Re: [Wicket-user] AjaxSubmitButton - Cancel

2007-06-14 Thread John Carlson
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

Re: [Wicket-user] AjaxSubmitButton - Cancel

2007-06-14 Thread Igor Vaynberg
:* 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