|
Bart, I noticed this behavior as well, but I was unable to collect any
reply from this list. The basic issue is that the page navigator calls isRowAvailable() in the data model many times just to setup a predefined number of ranges in the widget, where the user can select from. These calls in turn endup in probing the database with searches, and here performance drops down. This behavior occurs if you declare in advance the overall dataset size. If this is undefined (-1), then the widget contains one range plus "more ...". I found that the second solution avoids a lot of isRowAvailable() calls. And you cannot be lazy in answering this call: if your model answers yes, while returnin null at the getRowData(), you end up with a blank row. In any case a significat performance gain is achieve by caching a page, saving/restoring it across requests. Then reload the cache before rendering, if the underlying model might have changed. Hope it helps. -- Renzo [EMAIL PROTECTED] wrote:
|
- [Trinidad] Pagination in a <tr:table>? Bart . Kummel
- Re: [Trinidad] Pagination in a <tr:table>? Renzo Tomaselli
- AW: [Trinidad] Pagination in a <tr:table>? Döring Markus
- AW: [Trinidad] Pagination in a <tr:table>? Rottstock, Sven
- Re: AW: [Trinidad] Pagination in a <tr:tab... Bart . Kummel
- AW: AW: [Trinidad] Pagination in a <tr... Rottstock, Sven
- AW: AW: [Trinidad] Pagination in a &... Rottstock, Sven
- Re: AW: AW: [Trinidad] Paginatio... Bart . Kummel
- Re: [Trinidad] Pagination in a <tr:table>? Max Starets
- commandButton does invoke action method Zheng, Xiahong

