Hello,
Perhaps i am standing on my own foot (for the above problem).
I searched the web, this forum and the richfaces documentation. But i have not found an answer. But i am quite sure that this problem is discussed more than once in the past.
So any ideas,pointers etc. are very welcomed.
My problem:
Displaying a table with dataScroller.
Selecting a page >1. This page is correctly displayed.
After the refresh button of the browser is pressed, the datascroller switched back to page one.
The same happens on this usecase:
User selects page 3 and presses a commandbutton inside a row of this page. Redirecting to a new page occcurs. When the user navigates back to the table, page 1 is displayed (where i want it to stay on page 3 in this case.
My code of the page:
<h:form>
<h:commandButton value="Save" />
<rich:datascroller for="Fieldlist" maxPages="30" />
<rich:dataTable id="Fieldlist" var="plot" value="#{fieldlist}" rendered="#{not empty fieldlist}" rows="25">
<f:facet name="header">
<rich:columnGroup>
<rich:column>
[...] </rich:columnGroup>
</f:facet>
<rich:column>
[...]
</rich:column>
[...]
<rich:column>
<h:commandButton [..] </h:commandButton>
</rich:column>
[...]
</rich:dataTable>
</h:form>