This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am using nested tag to display almost 50 rows to user. Each row (bean) has 5 fields. When user submit the form, I want to send to backend only the collection of beans that r changed. I do not want to send all 50 rows, when only 5 rows are send.
One way to do this is save the Old collection of beans on action form, and then when user submit the form, check for changed rows and put changed rows in the result collection to send to backend.
Is there any other smarter way to do this? I feel this is a common problem, when the design asks to send collection of objects to save to DB. Hence was wondering, if there is any smarter way... any tag support or any pattern to handle this scenario?