http://www.t-deli.com/ theres a useful class called the Splitter.
You need only download it, and then setup a bean in your page. The splitter lets you take a flat collection and produce x collections of n length each. That way, youre iterating over a collection of collections. Peace, Josh On 7/31/06, Sam Gendler <[EMAIL PROTECTED]> wrote:
The subject pretty much says it all. I am iterating over values I want in two columns. For reasons best explained by our html designer, they are in a table. So after each 12 items, I want to close the current td, open another td, and then continue. But @If won't let me do that, because it is improperly nested xml. Is there some way to accomplish this short of rendering two entirely separate loops, one for each column? I suppose I could put use an @Insert statement, but that seems like an evil kludge. --sam --------------------------------------------------------------------- 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]