David,

Yes, I'm using the form in a wizard-type flow so it is used in two consecutive 
calls. I want to be able to detect that cancel was selected and not have the 
form overwrite the values that were already there.

Thanks,
Abdullah

-----Original Message-----
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 17, 2005 5:11 PM
To: Struts Users Mailing List
Subject: RE: Best way to cancel 


Abdullah,

Why aren't you using an html "reset" button to restore the page form fields
to their original (as given to you by the server) values?  Or are you trying
to revert was is on the server to something entered long ago?

Regards,
David

-----Original Message-----
From: Abdullah Jibaly [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 17, 2005 5:56 PM
To: Struts Users Mailing List
Subject: Best way to cancel

Hi all,

Is there a way to press cancel on a display page and not have Struts
populate the ActionForm with the values that were entered? If not what are
some common workarounds to this? I basically want to be able to retrieve the
old values in that case.

Thanks,
Abdullah


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to