Yes, skip validation on cancel and still refresh the model.  That's my
stumbling block.

John

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL 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 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 buttons have this ability via the
> defaultformprocessing(false) but I want to update the form on cancel.
> The best I have brainstormed would be to have the cancel button
separate
> from the form and some how or the other call update on the form from
> outside it.  Any thoughts would be appreciated.

So you want to skip validation, but update the models regardless?

Eelco

------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to