I have problem in Oracle ADF pagination
Bean code is:
private UIXIterator purVO1Iterator;
private int rowsPerPage = 20;
public void previousActionListener(ActionEvent actionEvent) {
this.getPurVO1Iterator().setFirst(this.getPurVO1Iterator().getFirst() -
rowsPerPage);
}
public void nextActionListener(ActionEvent actionEvent) {
this.getPurVO1Iterator().setFirst(this.getPurVO1Iterator().getFirst() +
rowsPerPage);
} code jsp est:Pagination utilisant Oracle ADF
<af:iterator id="i11" var="row"
value="#{bindings.purVO1.collectionModel}"
binding="#{backingBeanScope.Purchage.purVO1Iterator}"
rows="#{backingBeanScope.Purchage.rowsPerPage}">
..............
problème ici ça prend beaucoup de temps quand nous cliquez sur le bouton suivant. Y a-t-il une meilleure solution pour cela?