myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max Starets <max.star...@oracle.com>
Subject Re: Trinidad's table range navigation control
Date Thu, 06 Mar 2008 14:34:58 GMT
Yes. If your CollectionModel returns -1 from getRowCount(), the UI will 
be updated
not to show the total. Once you page to the next range, the table will 
attempt to retrieve it.

Regards,
Max

G.Cholakov wrote:
> Hi guys,
>
> I'm using MyFaces Trinidad's table component and I have the next question:
>
> Let's pretend I have a database table with hundred of thousands of rows. I
> don't want to retrieve all rows in a bean's collection and put it to the
> session, because it will be huge. Is there a way to retrieve the next
> portion of rows only when the user navigates to it?
>
> Thanks for your time!
>   


Mime
View raw message