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);
} jsp 代码是:
<af:iterator id="i11" var="row"
value="#{bindings.purVO1.collectionModel}"
binding="#{backingBeanScope.Purchage.purVO1Iterator}"
rows="#{backingBeanScope.Purchage.rowsPerPage}">
.....................
这里的问题是我们单击下一步按钮需要很长时间。有没有更好的解决方案。