I am no JavaScript expert (it takes me 4 hrs debugging time every time I touch 
any JS code!)
so I can't give any JS suggestions other than somebody's probably written it 
already :)

But I do suggest that you drop pagination altogether.  It's an artificial 
concept
which was invented for green screen and the web only because scrolling
was not available.  The time for it has gone and history should forget it.

On Oct 28, 2011, at 11:49 AM, Barry Books wrote:

> That's an interesting comment. I've got the basics working now.
> 
> https://github.com/trsvax/tapestry-bootstrap/tree/master/src/main/java/com/trsvax/bootstrap
> 
> This template displays a grid
> 
> <t:tb.mediagrid t:id="gallery" value="value">
>       <a href="#123">
>             <img class="thumbnail" src="${url}"/>
>             <h3>${value.mediaTitle}</h3><button class="btn">+</button>
>        </a>
> </t:tb.mediagrid>
> 
> What would be slick is if you drop in a pagination component it uses
> it else it behaves as you suggest. I guess the question is how does
> this mixin figure out if it contains a pagination component or not? I
> guess I could mark it with @Paginator.
> 
> Even better might be.
> 
> <noscript>
> <t:tb.pagination/>
> </noscript>
> 
> Got any pointers to the javascript to make this work?
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to