DataTable and Lazy-Loading

2006-05-18 Thread Hans Sowa
Hi allFirst following Scenario: I know that I will have to load 20.000 Records and I want to display it with a scrollable Datatable. Is it possible to load only the first page and then if the user klicks on the scroller the correct page will load from the table? Thanks in advance.-- mfg Hans Sowam

Re: DataTable and Lazy-Loading

2006-05-18 Thread Cosma Colanicchia
See this wiki entry: http://wiki.apache.org/myfaces/WorkingWithLargeTables Cosma 2006/5/18, Hans Sowa <[EMAIL PROTECTED]>: Hi all First following Scenario: I know that I will have to load 20.000 Records and I want to display it with a scrollable Datatable. Is it possible to load only the f

Re: DataTable and Lazy-Loading

2006-05-18 Thread Hans Sowa
Hi CosmaThanks a lot. This should help me.I have a further question independent from this here. If I have a Data Table without lazy loading and I want to know which rows are currently shown how can I do this? I don't have an idea so far! Thanks a lot.HansOn 5/18/06, Cosma Colanicchia <[EMAIL PROTEC

Re: DataTable and Lazy-Loading

2006-05-18 Thread Cosma Colanicchia
Hi Hans, where you need to know that? In your backing bean? In your page? 2006/5/19, Hans Sowa <[EMAIL PROTECTED]>: Hi Cosma Thanks a lot. This should help me. I have a further question independent from this here. If I have a Data Table without lazy loading and I want to know which rows are

Re: DataTable and Lazy-Loading

2006-05-18 Thread Hans Sowa
Hi CosmaI need to know that in my backing bean.On 5/19/06, Cosma Colanicchia <[EMAIL PROTECTED]> wrote: Hi Hans,where you need to know that? In your backing bean? In your page? 2006/5/19, Hans Sowa <[EMAIL PROTECTED]>:> Hi Cosma>> Thanks a lot. This should help me.>> I have a further question indep

Re: DataTable and Lazy-Loading

2006-05-19 Thread Cosma Colanicchia
If you are using a dataScroller, you can try to take a look at its firstRowIndexVar and lastRowIndexVar. 2006/5/19, Hans Sowa <[EMAIL PROTECTED]>: Hi Cosma I need to know that in my backing bean. On 5/19/06, Cosma Colanicchia <[EMAIL PROTECTED]> wrote: > Hi Hans, > > where you need to know t

Re: DataTable and Lazy-Loading

2006-05-24 Thread Hans Sowa
Hi CosmaThanks for the hint but both are always null.I found out that I could use an actionlister. The ScrollerActionEvent contains the attributes mPageIndex and mScrollerfacet. It the user clicks directly to the page the attribute mPageIndex contains the pagenumber. It the user clicks on the next