Ajax constructs go outside of Tapestry's understanding of the page
construction.  It relies upon the developer to generate unique zone
ids.

In your situation, I would have the setItem() method generate a unique
zone id as a side effect and expose that as a proprty used by both the
ActionLink and the Zone.

On Feb 8, 2008 11:40 PM, Travis McLeskey <[EMAIL PROTECTED]> wrote:
> When an ActionLink and Zone appear together in a loop like this:
>
> <t:loop source="items" value="item">
>    <t:actionlink zone="myzone">go!</t:actionlink>
>    <t:zone t:id="myzone">in the zone?</t:zone>
>    <br />
> </t:loop>
>
> Clicking the "go!" link from any iteration only affects the Zone from
> the first iteration. How do I connect each ActionLink to its
> corresponding Zone? I tried injecting the Zone into the java class and
> then using zone="${thezone.id}" in the actionlink, but then each
> ActionLink was connected to the Zone from the *previous* iteration.
>
> Thanks!
> Travis
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to