How can I cache data inside a composite component?
问题 I've been working with this dynamic list component: How to implement a dynamic list with a JSF 2.0 Composite Component? One of the things I'd like to do is cache the original value of "list" so that, when a user adds or removes something from this list...I know which ones were added/removed so that I can do something different with them. For example, a "removed" item would simply have a strikethrough instead. Or, an "added" item would have a different background to show that it was recently