[displaytag-user] Need Help...: Issue in exporting Manipulated data
Brought to you by:
fgiust
From: Abhijit_Tilekar <Abh...@sa...> - 2008-01-23 10:32:29
|
Hey Guys, Need help.. Please =20 Regards, Abhijit =20 =20 From: Abhijit_Tilekar=20 Sent: Tuesday, January 22, 2008 9:10 PM To: dis...@li... Subject: Issue in exporting Manipulated data =20 Hi, =20 I am facing the following issue: I am getting a list of data which I am maintaining in the session. This list is displayed to user through JSP using display tag.JSP has 2 buttons, say Submit1 and Submit2. As per the requirements, user can manipulate (Add/edit/remove) the data. But these manipulations are not stored directly into the database. Instead, I need to update the data in the session on click of Submit1. And finally, when user clicks on Submit2, I need to update the database. =20 Hence, on click of Submit1, I will return to JSP from Presentation layer, directly. =20 Now, after few manipulations (hence, essentially, after few clicks of Submit1 but before clicking Submit2), If user tries to export the data, original data (the one which was loaded at very first time) gets exported. =20 As per my understanding, Display Tag is maintaining the original list of data in the cache, at the very first time when I load the JSP. =20 =20 =20 What is the solution for the above problem other than writing my on export feature? =20 Thanks in Advance, Abhijit DISCLAIMER: This email (including any attachments) is intended for the sole use of = the intended recipient/s and may contain material that is CONFIDENTIAL = AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or = copying or distribution or forwarding of any or all of the contents in = this message is STRICTLY PROHIBITED. If you are not the intended = recipient, please contact the sender by email and delete all copies; = your cooperation in this regard is appreciated. |