This content has been marked as final.
Show 2 replies
-
1. Re: Wrapping a List in a DataModel
asookazian Jul 22, 2009 1:43 AM (in response to clerum)Why don't you write a getter method in your backing bean that return ListDataModel?
I don't think it's currently possible to do what you're asking (wrapping in the presentation layer) and most likely this will not be added to any spec b/c it is not a popular/frequent use case...
-
2. Re: Wrapping a List in a DataModel
clerum Jul 22, 2009 5:53 PM (in response to clerum)I would think his is a fairly common use case. It's only natural to want to use the Collections provided by JPA/Hibernate directly in the Presentation layer...just like any of the other variables.
Anyone else run into this?