This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 89848 - Custom Pagination not working
Summary: Custom Pagination not working
Status: RESOLVED WONTFIX
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker with 1 vote (vote)
Assignee: Winston Prakash
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-22 13:14 UTC by gmkumar
Modified: 2007-06-23 00:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gmkumar 2006-11-22 13:14:47 UTC
Environment : Netbeans 5.5, VisualWebPack. Basic Table Component( used for jsf
visual development) .  
I am unable to delegate paging logic to my custom dataprovider. I found the
reason as follows. The TableRowGroup has a bug.
The method  public RowKey[] getRowKeys() is not behaving as expected.
Expected behaviour is : Get one page of rowkeys from the dataprovider.
Current behaviour : Retrives all the rows from dataprovider.
Reason :  in the implementation of method getRowKeys() , there is a cll to
dataprovider, provider.getRowKeys(rowCount, null). The second parameter is
always null.
Expected value in second parameter is firstrow as in this signature
getRowKeys(int count, RowKey afterRow) in the class dataprovider.

Classes refered in the above 
1) webui-jsf-src.zip\com\sun\webui\jsf\component\TableRowGroup
2) dataprovider-src.zip \com.sun.data.provider\TableDataProvider
Comment 1 Martin Adamek 2007-02-15 10:56:26 UTC
Reassigning to the owner of the component
Comment 2 Winston Prakash 2007-06-23 00:19:54 UTC
This Issue has been migrated to Project Woodstock issue:  
https://woodstock.dev.java.net/issues/show_bug.cgi?id=301
Please use this issue number for tracking purposes.