nt: Wednesday, January 18, 2006 11:29 AM To: MyFaces DiscussionSubject: Re: dataScroller total page number (large data set) You could implement a DataModel and in the "public int getRowCount()"execute a sql to count(*) all the data.Regards,Bruno2006/1/18, Emmanuel Jay < [EMAIL PROTECTED]
ailto:[EMAIL PROTECTED]]Sent: Wednesday, January 18, 2006 11:29 AM
To: MyFaces DiscussionSubject: Re: dataScroller total page number (large data set)
You could implement a DataModel and in the "public int getRowCount()"execute a sql to count(*) all the data.Regards,Bruno2006/1/18, Emmanuel Jay &l
value...But basically getRowCount() makes thescroller think, the datamodel knowstheamount of data...hthAlexander
-Original Message-From: Bruno Aranda [mailto:[EMAIL PROTECTED]]Sent: Wednesday, January 18, 2006 11:29 AM
To: MyFaces DiscussionSubject: Re: dataScroller total page number (lar
RowCount() makes thescroller think, the datamodel knowstheamount of data...hthAlexander
-Original Message-From: Bruno Aranda [mailto:[EMAIL PROTECTED]]Sent: Wednesday, January 18, 2006 11:29 AMTo: MyFaces DiscussionSubject: Re: dataScroller total page number (large data set)
You could implement a
uno Aranda [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 18, 2006 11:29 AM
To: MyFaces Discussion
Subject: Re: dataScroller total page number (large data set)
You could implement a DataModel and in the "public int getRowCount()"
execute a sql to count(*) all the data.
Regard
You could implement a DataModel and in the "public int getRowCount()"
execute a sql to count(*) all the data.
Regards,
Bruno
2006/1/18, Emmanuel Jay <[EMAIL PROTECTED]>:
> How do you make the dataScroller "think" it has all the data ready?
>
> Thanks,
>
> Emmanuel
>
>
> On 1/18/06, Bruno Aranda
How do you make the dataScroller "think" it has all the data ready?Thanks,EmmanuelOn 1/18/06, Bruno Aranda <
[EMAIL PROTECTED]> wrote:You can also check this entry [1] in the wiki. It might help!
Regards,Bruno[1] http://wiki.apache.org/myfaces/WorkingWithLargeTables2006/1/18, Emmanuel Jay <
[EMAIL
You can also check this entry [1] in the wiki. It might help!
Regards,
Bruno
[1] http://wiki.apache.org/myfaces/WorkingWithLargeTables
2006/1/18, Emmanuel Jay <[EMAIL PROTECTED]>:
> Looking at the HtmlDataScroller code getPageCount assumes that the whole
> data model is loaded in memory to disp
page number (large data
set)
Looking at the HtmlDataScroller code getPageCount assumes that the
whole data model is loaded in memory to display the number of pages available.
Anybody knows a work around this that will allow the setting of the
pageCount independently of whether the model is fully
Looking at the HtmlDataScroller code getPageCount assumes that the whole data model is loaded in memory to display the number of pages available. Anybody knows a work around this that will allow the setting of the pageCount independently of whether the model is fully loaded or not...
On 1/17/06, Em
10 matches
Mail list logo