How to use pair of <rich:datascrollers> outside the any dataTable

RichFaces FAQRichFaces Components FAQData Iteration Components FAQ


 

     It is a common pattern to have 2 <rich:datascroller> components for the same table: the first in the header, the second in the footer. But two <rich:datascroller> components bound to the same table aren't synchronized. If you have two <rich:datascroller> components on a page, session-scoped beans saves the data for only one of them.

     The solution is to use "page" attribute and bind it to the same property for all <rich:datascroller> components as it is described at the RichFaces LiveDemo page.