You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jan Fryblik <ja...@ebrothers.cz> on 2013/05/11 22:52:24 UTC

Re: loop pagination - T5 Bootstrap

Still i thank you for inspiration with your gallery component and other  
components in library. Thanks!


> Sorry for my previous answer… I didn't realise that this  
> tapestry-bootstrap
> mixin existed.
>
> After looking at the source here:
>
> https://github.com/trsvax/tapestry-bootstrap/blob/master/src/main/java/com/trsvax/bootstrap/mixins/Pager.java
>
> It seems to me that this mixin does not do 'true' paging since the source
> is a java.util.List. I realise that the client only sees a page of data  
> at
> a time. But on the server, the entire List must be loaded into memory  
> which
> may cause OutOfMemoryErrors for large collections.
>
> The GridDataSource (or similar interface that supports serverside paging)
> is the more scalable solution.
>
> Please correct me if I'm wrong… I only had a quick look through the  
> source
> code.