This content has been marked as final.
Show 1 reply
-
1. Re: Displaying additional pagination info for a rich:dataTable
scott.jones618 Jun 27, 2011 5:31 PM (in response to scott.jones618)I got this to work by modifying my backing bean (let's call it "bean"). I added a "getNbrItems()" method and a "page" property. I then set the "page" attr of the <rich:dataScroller> to "#{bean.page}".
I then put the calculation in an <h:outputText> and set the "render" attribute of <rich:dataScroller> to the id of my outputText.
I wish there was a way to do this without modifying the backing bean but based on my digging around there doesn't appear to be.
Scott