struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abdullah Jibaly" <Abdullah.Jib...@aeroxchange.com>
Subject RE: Best way to cancel
Date Fri, 18 Mar 2005 15:13:30 GMT
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:humble@ix.netcom.com]
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:Abdullah.Jibaly@aeroxchange.com]
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message