[jboss-user] [JBoss Seam] - @Factory & Pagination
skanky78
do-not-reply at jboss.com
Fri Dec 14 07:10:23 EST 2007
hi folks,
i 've read many post in this forum but i didn't find an answer to my specific issue. I'm trying to do pagination together within the method annotated with @Factory. I tried the rich:dataScroller control and some other things like custom page links with params but i didn't get the pageindex of the requested page (if user paginates to another site). i need it in this method to fetch the items for the selected page. how could do that?
ps: i've tried request params but i always got null:(
|
| class:
|
| @Factory("items")
| public List findItems() {
|
| ....use buisness method th retrieve items for listview
|
| }
|
| facelet:
|
| <rich:dataTable value="#{items} var="item" rows="10"...>
| ...
| </rich:dataTable>
|
|
thanks in advance,
sven
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112892#4112892
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112892
More information about the jboss-user
mailing list