You may need to elaborate; but I think you might want to double the fields
to compare the original against the editable if you want to keep the
transaction request based, otherwise you might want to use the Unit of Work
or Memento pattern in managing the transaction.  Check either Design
Patterns from GoF or Fowler's Patterns of Enterprise Application
Architecture.



| -----Original Message-----
| From: Vinay [mailto:[EMAIL PROTECTED]]
| Sent: Monday, February 10, 2003 2:27 PM
| To: Struts Users Mailing List
| Subject: General Question
| 
| This is a very general question and not specifically related to struts or
| tag libraries, may be naive,thought somebody could help me off the list on
| the list.
| 
| I have this very big form with list of 100's of transactions pulled from
| the database base thru a select statement or a similar one.
| 
| And this form has a lot of textfields where the user can edit the fields
| and send it back to the database for updations.
| 
| I need to get only those values which are being edited by the user for
| updations in Action Class. If this looks vague , i can elaborate.
| 
| Do i have to compare or check if user has edited.
| 
| The solution might be very trivial , but couldn't get any idea.
| 
| Thank you ,
| 
| Help appreciated,
| 
| 
| Vinay.
| 
| 
| 
| 



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

Reply via email to