Here's an example of this with normal JSF tables:
  http://wiki.apache.org/myfaces/WorkingWithLargeTables

Max Starets schrieb:
> Georgi,
>
> I do not have an example unfortunately.
> I do not think you have to rely on rangeChangeListener, however.
> You can have a custom ColelctionModel implementation that fetches
> ranges of data "on demand"
> and returns -1 from getRowCount().
>
> Regards,
> Max Starets
>
> G.Cholakov wrote:
>> Thank you Max,
>> But the range navigation combo updates each time when the elements in
>> the
>> collection are updated.
>> My idea was when the next portion of elements is requested, to
>> retrieve them
>> from the database and to release the previous portion - on order to
>> have in
>> the collection only requested portion, not all requested portions
>> until now
>> - all this functionality in rangeChangeListener of the table, where the
>> collection is updated with new elements.
>> So I didn't understand how to do that. If you can point me to an
>> example it
>> would be great.
>>
>> Thank you
>>
>>
>>   
>
>

Reply via email to