tags:

views:

132

answers:

0

In my application i am using rich:datascroller, i navigate to some page by clicking next in datascroller. when i click on refresh it is not going back to the first page and it is staying in the same page. I had also have reset the datascroller using the below method

 public void resetDatascroller() {
    if (datascroller != null) {
        getDatascroller().setPage(UIDatascroller.FIRST_FACET_NAME);
    }
}

in which datascroller is the binding variable.