Re: dataScroller total page number (large data set)

2006-01-18 Thread Dave
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]

Re: dataScroller total page number (large data set)

2006-01-18 Thread Emmanuel Jay
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

Re: dataScroller total page number (large data set)

2006-01-18 Thread Emmanuel Jay
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

Re: dataScroller total page number (large data set)

2006-01-18 Thread Emmanuel Jay
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

RE: dataScroller total page number (large data set)

2006-01-18 Thread Jesse Alexander \(KBSA 21\)
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

Re: dataScroller total page number (large data set)

2006-01-18 Thread Bruno Aranda
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

Re: dataScroller total page number (large data set)

2006-01-18 Thread Emmanuel Jay
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

Re: dataScroller total page number (large data set)

2006-01-18 Thread Bruno Aranda
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

RE: dataScroller total page number (large data set)

2006-01-18 Thread Jesse Alexander \(KBSA 21\)
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

Re: dataScroller total page number (large data set)

2006-01-18 Thread Emmanuel Jay
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

dataScroller total page number (large data set)

2006-01-17 Thread Emmanuel Jay
Hi all,We are trying the use the dataScroller for a large data set (I have read the threads about that). Our business logic is all there but we can't figure out how to set the total number of pages on the dataScroller without loading the whole model. Basically we just want to specify on the dataScr