Hi all!

I explain my situation:
I have to display a tipical dataTable with his dataScroller.
Objects in the list are more complex and I try to load from db only data for
the current page; for example: if I display 10 rows for page I will get from
db only first, second, third, etc 10 records using between rownum clausole
on the query.

[CODE]
int pageIndex =
(Integer)getRfxListScroller().getAttributes().get(getRfxListScroller().getPageIndexVar());
int rowsForPage = getRfxListScroller().getRows();
rfxList = getBeanRfx().getAllRfx(getBeanUser(), pageIndex, rowsForPage);

public HtmlDataScroller getRfxListScroller() {
   if(rfxListScroller == null)
      rfxListScroller = (HtmlDataScroller)
findComponentInRoot("rfxListScroller");
   return rfxListScroller;
}
[/CODE]

I tried this....but unfortunatly the dataScroller doesn't work because it
doesn't know the complete resultSet, I suppose.....

So....there is a work around to solve this problem?

Thanks in advance for suggestions!
Cheers, Valentina
-- 
View this message in context: 
http://old.nabble.com/%3Ct%3AdataScroller%3E-question-tp30892417p30892417.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to