| Issue 25: | Nested repeated section issue | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Got this template to reproduce a sort of breadcrumbs output:
[ul class="path"]
{.repeated section outer}
[li]
{.repeated section inner}
[a href="#"]{someproperty}[/a] >
{.end}
[a href="#"]{someotherproperty}[/a]
[/li]
{.end}
[/ul]
When the outer has only one inner element it doesn't show it, if it has
more than one it shows perfectly.
What version of the product are you using? On what operating system?
I've tested in macosx leopard firefox 3 and safari 4.
Any clues ?
Jun 22, 2009
#1
fernando...@gmail.com
Jun 22, 2009
The template looks fine. Can you post the data dictionaries you're using? There's a test that verifies the behavior of nested repeated sections, so this should be working: http://chubot.org/json-template/test-cases/testNestedRepeatedSections-01.html
Jun 23, 2009
Template works fine, json-template is doing well. In my case, all json data dictionaries are developed by the xml2json package, so I have control over the xmls that serves as input to xml2json instead of json data. The problem is related to how xml2json rendered the json data object. Thanks for you invaluable support !
Jul 9, 2009
OK, glad to hear that.
Status:
Invalid
|