Re: Cancel button problem

2005-01-05 Thread Manisha Sathe
Hi Nicolas, I tried it but I am not getting it right, pls can u explain me in detail ? Thanks & regards Manisha Nicolas De Loof <[EMAIL PROTECTED]> wrote: When using cancel button, validation is automatically skipped. Use isCanceled(request) in your action to see if cancel was clicked and f

Re: Cancel button problem

2005-01-05 Thread Nicolas De Loof
When using cancel button, validation is automatically skipped. Use isCanceled(request) in your action to see if cancel was clicked and forward to your index page. Nico. Manisha Sathe a écrit : I am using struts cancel button. But when i click on that it goes to next page (w/o even validation -

Cancel button problem

2005-01-05 Thread Manisha Sathe
I am using struts cancel button. But when i click on that it goes to next page (w/o even validation - using validator). What i want to do is i want to redirect it to index page. I tried using oncancel inside but giving me error. How i can do this ? Thanks and regards, Manisha