I wrote a component that does exactly this (for the exact same problem of
displaying images in a image gallery)
It's called "grid layout" and it's part of stitches. It will create a
table that will create a row for a given number of columns. I am willing to
pull it out of stitches tonight and make it a standalone jar if you want.
There is a "Grid Layout" tab.
http://www.authsum.org/stitches/app
----- Original Message -----
From: "sunilmanu" <[EMAIL PROTECTED]>
To: <users@tapestry.apache.org>
Sent: Tuesday, November 21, 2006 10:41 AM
Subject: Displaying Image Gallery ?
Hello Everyone,
I need help on displaying an image Gallery.
eg: I have 35 image names to be iterated over and I need to display 5 each
row . Its easy if i display everything on 1 row/column. How can we put in
this condition that every 6th image I need it to be displayed on a
different
row ?
Table component is not that useful for this. Do we have any other
component
that I can use ?
Thanks,
Sunil
--
View this message in context:
http://www.nabble.com/Displaying-Image-Gallery---tf2679494.html#a7473391
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]