0 Replies Latest reply on Nov 3, 2008 5:39 AM by Joern

    How can I handle a Collection/Set in JSF

    Joern Newbie

      Hi,

      in my entity relations I have to use java.util.Set. If i want to use these objects in a DataTable with JSF(RichFaces), I always have to convert/cast my Set to a ArrayList. With creating a new ArrayList of my entities, I also lose the references to my objects, so if they are changed in the jsf view, i have to convert it back again to a Set, to store it to the database. Is there a pattern to handle this problem?

      Thanks