the implementation will trim to size()

-Igor


On 3/24/06, Frank Silbermann <[EMAIL PROTECTED] > wrote:

 

To use the Wicket-extensions 1.2 DataTable, we must provide an implementation of IDataProvider.

 

IDataProvider , in turn, requires that we implement

 

"int size()"

and

 "Iterator iterator(int first, int count)"

 

If the DataTable is paging data, is it likely that "count" on the last page will be larger than the result determined by "size()" – so that we must return "count" rows or however many remain, whichever is less -- or does the DataTable reduce "count" on the last page so that "first + count" never exceeds "size()"?

 

 


Reply via email to