struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaudhary, Harsh" <HCHAU...@amfam.com>
Subject RE: Reset struts form values: Struts 1.3
Date Tue, 24 Apr 2007 22:01:57 GMT
Yea, that's what I was thinking too. I was just wondering if Struts (or
some other API) has a built-in caching mechanism. Thanks though,
Harsh.

-----Original Message-----
From: paulus.benedictus@gmail.com [mailto:paulus.benedictus@gmail.com]
On Behalf Of Paul Benedict
Sent: Tuesday, April 24, 2007 4:55 PM
To: Struts Users Mailing List
Subject: Re: Reset struts form values: Struts 1.3


Chaudhary, Harsh <HCHAUDHA@amfam.com> wrote:
>
> Hi,
>
> I am using Struts 1.3. We have several struts forms which are
> pre-populated from a database.
>
> My questions is, if I want to provide the user with a way to reset the
> form to the initial values which were populated from the database.



It sounds like you will be providing a button for this choice. If so,
then
wire it up to a Struts action which will get the values from the
database.
Or if those values are cached in application scope, just retrieve those
again.

Paul

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


Mime
View raw message