Pete,
Thanks for the reply. I can have a stateful session bean that extends
EntityQuery? I guess I didn't think of that. What I ended up doing was using
EntityQuery to perform my query, and exposing the methods from EntityQuery that
are used by the JSF pages for sort/filtering. It mostly works. The list
appears, with the pagination, but when I go to the 2nd page then go back to the
first page, the pagination links disappear. The expression I'm using for
rendered always returns false. Its something like:
|
| From the view...
| <s:link view="DeliverableSearch.xhtml"
rendered="#{deliverableSearch.previousExists} .../>
|
| From the Stateful session bean...
| DeliverableSearch.java
| ...
| public boolean getPreviousExists(){
| return enitiyQuery.isPreviousExists(); // internal instance var for query
| }
Maybe isPreviousExists doesn't do what I think it does.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098527#4098527
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098527
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user