0
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}">

.....................

这里的问题是我们单击下一步按钮需要很长时间。有没有更好的解决方案。

4

2 回答 2

1

您需要检查迭代器 Purchage 使用的可执行文件的范围设置。此外,您应该检查 VO 调整部分的设置以进行查询。

于 2012-07-24T19:53:46.427 回答
0

您必须转到定义此迭代器树的 pageDef 并在那里设置迭代器的 rangeSize。此外,您可能需要检查 VO 定义。在迭代器上设置它不会覆盖在 VO 上完成的设置。

于 2012-12-16T11:45:04.863 回答