It's true the mixin does not support GridDataSource, probably should but it works OK for most things as is. To support really large collections the pagination component would also need to be rewritten since it displays a link per page and that would not work well for thousands of pages. The other thing that got lost in my conversion to Bootstrap 2 was the mixin that allowed infinite scrolling if javascript is enabled. Perhaps it's time for some updates.
On Tue, May 7, 2013 at 2:52 AM, Lance Java <lance.j...@googlemail.com>wrote: > 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. >