Using the h:outputText in the above code I can see the problem is that the ID's of the entity beans are different between the saved value and the values in the list. I'm wondering if part of the problem is that webUser is session scoped and that maleTops is a framework query defined in components.xml meaning I'm getting 'different' entities back.
Override the equals() and hashCode() of the entity.
Do you really mean the ids are different - if the ids are different then you won't get the objects selected. Do you mean the hashcode - in which case, yes, the session scope is probably the problem and nickaris's solution is probably correct - either that or follow the pattern i documented on the wiki for managing entities in scopes longer than conversation
Yes sorry, I meant the hashcode. Overriding the two methods as suggested fixes the problem nicely. Thanks for the help.