2 Replies Latest reply on Feb 1, 2008 9:41 PM by neilac333

    Getting Next Page From <rich:datascroller>


      Quick question:

      When the user scrolls to a page by clicking on a number in <rich:datascroller>, how can I get the desired page number to a MethodBinding expression?

      Currently, I am doing the following:

      <rich:datascroller for="searchResults"
       rendered="#{not empty myAction.searchResults}"

      Note I am using the Seam extended EL here.

      Unfortunately, this just passes the current page rather than the desired scrolled-to page to the myAction component. As a result, the scroller just stays on the same page.

      Any insight on how to get the desired page to my component is very much appreciated.