0

Suppose i have 100 records and i am using pagination to display 10 items per page. If user sorts any column, displayed rows will change. How can i find which 10 rows are being displayed ? I am using richfaces 3.3.1 and JSF 1.2.

tiwari.vikash
  • 367
  • 3
  • 6
  • Where exactly do you need this information? – BalusC Jun 11 '12 at 17:17
  • I am using spring web flow for navigation and spring container for managing beans. If i get this information in backing bean, i would be able to use it in web flow scope. – tiwari.vikash Jun 11 '12 at 18:31
  • So, you need this information in an action method of the backing bean which is invoked by an `UICommand` component? – BalusC Jun 11 '12 at 18:32
  • Datascroller has an attribute scrollerListener which can be used to track pagination event. rich:column does not have any support for adding a listener for sorting event. – tiwari.vikash Jun 25 '12 at 19:19
  • I implemented custom sorting in rich:datatable for tracking displayed rows. – tiwari.vikash Jul 02 '12 at 18:27

0 Answers0