You may find this to be overkill, but rather than modifying your entity I suppose you could wrap it in a value object that contains the selected attribute.
"zzzz8" wrote : Hi texan, | | That's one way of doing it, but I don't want to modify the entity (or class) to add a "selected" attribute in the entity. Moreover, there are cases when one cannot (easily) do this - e.g. the class has been created by JAX-RPC, etc. It would be cleaner if one did not have to pollute the entity with an extra attribute. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979520#3979520 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979520 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
