You shouldn't have to do that.  If your form already has all of the values
coming in, unless you reinitialize your form, it will still have them going
out.  The only things you may have to fool with are values that where not
submitted with the form.

Am I missing something?

-----Original Message-----
From: Curtney Jacobs [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 23, 2003 10:38 AM
To: Struts Users Mailing List
Subject: Reflecting Changes in a Form After data has been updated

Greetings everyone!

I have an input form where my users can update their profile. After the user

have select the "Update" button I would like the form to reflect the updated

information the user has just submitted.

What is the best way to implement this?

I can think of one way; in my update action class after the data has been 
successfully updated in the database, copy the fields from my value object 
(updated data) back into the ActionForm and subsequently put it back into
the 
current session. Is this the most efficient/elegant way of doing this?


Thanks inadvance,

_CJ 

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


This message and its contents (to include attachments) are the property of Kmart 
Corporation (Kmart) and may contain confidential and proprietary information. You are 
hereby notified that any disclosure, copying, or distribution of this message, or the 
taking of any action based on information contained herein is strictly prohibited. 
Unauthorized use of information contained herein may subject you to civil and criminal 
prosecution and penalties. If you are not the intended recipient, you should delete 
this message immediately.



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

Reply via email to