What about giving the static id to the innerZone, like following:

<div t:type="zone" t:id="innerZone" id="innerZone">
</div>

DH
----- Original Message ----- 
From: "Hugo Palma"
To: "Tapestry users" <users@tapestry.apache.org>
Sent: Monday, April 27, 2009 11:38 PM
Subject: Getting a zone id when inside another zone


>I have a template that looks something like this:
> 
> <div t:type="zone" t:id="outerZone">
> 
> <form t:type="form" t:zone="innerZone">
> </form>
> 
> <div t:type="zone" t:id="innerZone">
> </div>
> </div>
> 
> The problem is figuring out the id of the innerZone in order to pass
> it to the form. Because the innerZone is itself inside a zone once the
> outerZone gets updated a new id is generated to the innerZone making
> the id i passed to the form an invalid one. I also tried something
> like:
> 
> <form t:type="form" t:zone="prop:innerZone.clientId">
> 
> but it doesn't work either.
> Any ideas on how i could make this work ?
> Thanks.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
>

Reply via email to