Andrey Fedorov
2009-11-18 18:38:20 UTC
I have code which is saying something along the lines of:
<table>
{.repeated section cells}
<tr>
{.repeated section @}
<td class="cell">@</td>
{.end}
</tr>
{.end}
</table>
Running in the context {"cells":[[1,1,1],[1,1,1],[1,1,1]]}
The two @ are supposed to refer to different iterators. This code
seems to freeze up - I'm guessing it's because doing a repeated
section on @ breaks things. Is there a better (working?) way of
writing this?
Can't find this in the documentation or list history, sorry if it's
not a new question.
Cheers,
Andrey
--
You received this message because you are subscribed to the Google Groups "JSON Template" group.
To post to this group, send email to json-template-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/json-template?hl=en.
<table>
{.repeated section cells}
<tr>
{.repeated section @}
<td class="cell">@</td>
{.end}
</tr>
{.end}
</table>
Running in the context {"cells":[[1,1,1],[1,1,1],[1,1,1]]}
The two @ are supposed to refer to different iterators. This code
seems to freeze up - I'm guessing it's because doing a repeated
section on @ breaks things. Is there a better (working?) way of
writing this?
Can't find this in the documentation or list history, sorry if it's
not a new question.
Cheers,
Andrey
--
You received this message because you are subscribed to the Google Groups "JSON Template" group.
To post to this group, send email to json-template-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/json-template?hl=en.