Thanks Gavin. I've had a look at Query and it looks great. However, my situation is a
bit more complicated. What I need is a way to to paginating the collocation based property
of my entities. Here is my code:
| <h:dataTable value="#{persons}" var="person" >
| <h:outputText value="#{person.name}" />
| <h:outputText value="#{person.age}" />
| <h:dataTable value="#{person.reviews}" var="review" >
| <h:outputText value="#{review.title}" />
| </h:dataTable>
|
| <h:dataTable value="#{person.calls}" var="call" >
| <h:outputText value="#{call.duration}" />
| </h:dataTable>
| <h:dataTable>
|
As you can see, Query is good for paginating #{persons}. But for #{person.reviews}, I
don't see a easy way of doing it. I have many entities that require this kind of
multi-level pagination. Can you give any advices on this? Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006070#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...