I want to call Fun1() if user clicks on OK button in the confirmation message or call Fun2() if user clicks on Cancel button.
Right now what happening is if user clicks on Cancel nothing happens and if user clicks on OK button then onSubmit() is called.
Problem is not able to get return value from Confirm Dialog in wicket class, code is as follows, please suggest.
Thanks, Prafulla Patil
Prafulla N. Patil
Joined: Mar 20, 2006
as there was no reply from anyone to my post and I was trying to resolve this issue whole day and finally Succeeded and resolution is as follows,
Hidden Field added into the form to populate Confirm functions return value and then it is used to call fun1 or fun2.