This content has been marked as final.
Show 3 replies
-
1. Re: Please, help to find optimal strategy for multiple itera
pmuir Mar 22, 2007 7:18 PM (in response to anarinsky)Use this to create a list backed with the set http://jroller.com/page/pmuir?entry=using_sets_in_jsf
-
2. Re: Please, help to find optimal strategy for multiple itera
anarinsky Mar 22, 2007 7:49 PM (in response to anarinsky)Thanks. Is it better (less complicated) than adding an additional @Transient method returning the List to the entity bean?
I still need to sort the collection ? how can I do this with this approach? Still, is it better to use a session bean or work only with entity beans? -
3. Re: Please, help to find optimal strategy for multiple itera
pmuir Mar 23, 2007 4:06 AM (in response to anarinsky)It's better design - you don't clutter up your model with workarounds for JSF flaws. As for sorting, just use a sorted set (Hibernate includes a few ways of sorting from annotations), the list should then be i the same order.