Re: dynamic ids for zones

2014-09-03 Thread Geoff Callender
Here's an example showing unique client ids being generated for zones. http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/eventlinksinaloop Geoff On 4 Sep 2014, at 5:52 am, Thiago H de Paula Figueiredo wrote: > On Wed, 03 Sep 2014 16:31:50 -0300, John wrote: > >> doesn

Re: dynamic ids for zones

2014-09-03 Thread Thiago H de Paula Figueiredo
On Wed, 03 Sep 2014 16:31:50 -0300, John wrote: doesn't the t:id need to be unqiue as well, or does the framework handle this? t:id must be unique inside the template, but that's the Tapestry server-side component id, not the HTML client-side id. So t:id and id are completely different t

Re: dynamic ids for zones

2014-09-03 Thread Lance Java
; doesn't the t:id need to be unqiue as well, or does the framework handle > this? > - Original Message - > From: Lance Java > To: Tapestry users > Sent: Wednesday, September 03, 2014 8:05 PM > Subject: Re: dynamic ids for zones > > > Yes, and

Re: dynamic ids for zones

2014-09-03 Thread John
doesn't the t:id need to be unqiue as well, or does the framework handle this? - Original Message - From: Lance Java To: Tapestry users Sent: Wednesday, September 03, 2014 8:05 PM Subject: Re: dynamic ids for zones Yes, and id="prop:myClientId" can produce a

Re: dynamic ids for zones

2014-09-03 Thread Lance Java
hat does not generate a unique Id for > rerendering. I need a fresh Id for each successive render, and O need to > know that Id in my javascript and the page. > > John > - Original Message - > From: Lance Java > To: Tapestry users > Sent: Wednesday, September 03, 201

Re: dynamic ids for zones

2014-09-03 Thread John
ssage - From: Lance Java To: Tapestry users Sent: Wednesday, September 03, 2014 5:46 PM Subject: Re: dynamic ids for zones zone="^" is a clientside concept and means find the first parent zone to the element which fired the event. I'm assuming you know you can explicitl

Re: dynamic ids for zones

2014-09-03 Thread Lance Java
zone="^" is a clientside concept and means find the first parent zone to the element which fired the event. I'm assuming you know you can explicitly define the zone id using:

dynamic ids for zones

2014-09-03 Thread John
I have a zone in a component that appear multiple times on a page so it needs unqiue ids each time. I was thinking not to assign an id for thew zone and let the framework provide one. How do I access this unqiue id when I want to rerender the zone. I see some compnents take the ^ value for teh