You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by miro <mi...@yahoo.com> on 2008/12/30 16:53:54 UTC
different validations based on different submit button click
I have a foprm with several buttons representing actions , based on
different action i want different validations so is there way where i can
retrieve which submit button was clicked ?
--
View this message in context: http://www.nabble.com/different-validations-based-on-different-submit-button-click-tp21218879p21218879.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: different validations based on different submit button click
Posted by Dipu <di...@googlemail.com>.
try form.findSubmittingButton()
or better you can override onSubmit() method of each button
regards
dipu
On Tue, Dec 30, 2008 at 3:53 PM, miro <mi...@yahoo.com> wrote:
>
> I have a foprm with several buttons representing actions , based on
> different action i want different validations so is there way where i can
> retrieve which submit button was clicked ?
> --
> View this message in context: http://www.nabble.com/different-validations-based-on-different-submit-button-click-tp21218879p21218879.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org