I am using ExtendedDataModel to do pagination backed by hibernate DAO.
I am using 01-07 3.1.4 snapshot
for a detailed example.
I have a search that rerenders a <rich:tabPanel>
The first tab contains a search form and the second contains the search results.
The datatable and the datascroller are both on the results page.
I rerender the entire panel.
This works great, but if I scroll to a page and then search again, the scroller tries to pull results from the previous page number which might not contain any results.
The scroller, datatable, and totals summary all refresh correctly, but the current page is always the one from the previous search.
If the page number exists in the search then all is well, but if it does not then the numbering in the scroller is correct, but no results are shown, and not page number is has a line over it.
All datascroller navigation still functions correctly.
There I posted a working example.
I invoke the mentioned "resetDatascroller" function whenever the search is started (some action in your backing bean like "handleSearch")