different validations based on different submit button click

2008-12-30 Thread miro

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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: different validations based on different submit button click

2008-12-30 Thread Dipu
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 miroconn...@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-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org