All IDs rendered by T5 are already unique. e.g.

<t:any t:mixins="renderClientId" />
<t:any t:mixins="renderClientId" />

will render

<div id="any"/>
<div id="any_0"/>

Steve.
--
Steve Eynon
-------------------------------
"If at first you don't succeed,
   so much for skydiving!"



On 24 May 2012 17:27, iberck <ibe...@gmail.com> wrote:
> Hi tapestry members:
>
> How can I create a component that generates unique ids?
>
> For example:
>
> PAGE
> ---------------------------------
> 1 <t:component1/>
> 2 <t:component1/>
> ---------------------------------
>
> I need component1 of line 1 has for example unique generated
> t:id="component1_0" and
> component1 of line 2 has for example unique generated t:id="component1_1"
>
> Thanks in advance
>
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/How-can-I-create-a-component-that-generates-unique-ids-tp5713377.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>

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

Reply via email to