Comment 1 for bug 523899

Revision history for this message
Guillaume Bort (guillaume-bort) wrote : Re: [Bug 523899] [NEW] Nesting list tags breaks the name_index

What is ${name_index} ? It should be ${list1_index} and ${list2_index}

On Thu, Feb 18, 2010 at 4:55 PM, Ben Rometsch <email address hidden> wrote:
> Public bug reported:
>
> If you have two nested lists, e.g.:
>
> #{list list1, as:'list1'}
>  ${name_index}
>
>  #{list list2, as:'list2'}
>    ${name_index}
>  #{/list}
> #{/list}
>
> It appears that the name_index context is not specific to the nested
> list, and so it is incremented in both the outer and inner list.
>
> ** Affects: play
>     Importance: Undecided
>         Status: New
>
> --
> Nesting list tags breaks the name_index
> https://bugs.launchpad.net/bugs/523899
> You received this bug notification because you are subscribed to play
> framework.
>