Jan,

Have you tried this without binding the dataScroller? In my experience, maintaining the correct state information for the dataTable itself is sufficient. If the "first" property is set correctly on the dataTable (and it sounds like yours is), then a regular dataScroller tag should be able to find the right page (without being bound).

Regards,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

janw wrote:
Hello,

I use the dataScroller bound to a backing Bean in session scope.
The table is as well bound to the backing bean.

  private UIData table;
  private HtmlDataScroller dataScroller;

Scenario:
The user scrolls to page 3, goes to a completely other page, then returns to
the page with the datatable (not by back button, but by a menu item /
command button of some kind).
The data displayed is the one from page 3, but the datascroller shows page 1
active ("1" is bold).
How can I correct this? The pageIndex of the datascroller seems correct (getPageIndex() returns 3).

Jan


Reply via email to