Em Fri, 13 Mar 2009 16:59:36 -0300, Peter Kanze <peterka...@gmail.com> escreveu:

Hello,

Hi!

I want to add some blocks with a generated id. like this:

Why exactly do you want blocks? Your example doesn't give any hints. Couldn't you just use <div>s instead?

How can I give my block an id based on the current thumbIndex?

AFAIK, you just can't.
Blocks (<t:block) are made to declare a piece of template that isn't generated at first: it is always used with the Delegate component or to replace a Zone content with AJAX. Given that, it doesn't make much sense to put them in a loop.

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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

Reply via email to