Kent, I have fixed my prolem using an internal counter as you have suggested.
Thanks for your suggestion ! Shing --- Kent Tong <[EMAIL PROTECTED]> wrote: > Shing Hing Man <matmsh <at> yahoo.com> writes: > > > I would like Tapestry to generate a unique (html) > > name for each > > copy of my tooltip component. (At present, the > > generated name > > is the same for each copy.) > > This is possible for form components. > > How about letting your component maintain a counter > internally? > Each time it is rendered it is incremented by one. > Of course > the initial value of it should be set properly (eg, > 0). > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > Home page : http://uk.geocities.com/matmsh/index.html Send instant messages to your online friends http://uk.messenger.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]