myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vlad10 <>
Subject Re: Tomahawk+DataScroller+WorkingWithLargeTables
Date Thu, 05 Jul 2007 19:27:20 GMT

I've a question for you. From your postings I did not see that you've had a
problem getting the total number of records (what is expected by DataPage). 
Culd you explain, how you were getting it (was it a additional call to DB?).


daniel ccss wrote:
> Ok I gonna do that!! Thank´s God I´m not alone in this, I think I was the
> only person that can´t implement all this right. Ok Vlad I´m gonna
> implement
> what Paul send. Paul explained  that  the DataModel was called two times
> because of the DataTable and the Scroller maybe is that what is happening
> to
> you:
> One more thing to be clearly explained here: the getDataModel() of
> 'enclosing' nested class (PagedListFoto in my case)  MUST BE CALLED
> TWICE, since you have two components in your JSP -> the DataTable and
> the Scroller and both are accessing this property. So you have to handle
> this situation yourself, i.e. directly in getter
> I talk to you soon, I´m gonna implement what Paul send.

View this message in context:
Sent from the MyFaces - Users mailing list archive at

View raw message