Hi..

Please forgive me if this isn't the right mailinglist for Tiles.

I'm trying a little hack using recursive putLists and items..
It looks like this

....

<definition name="news.menu">
<putList name="links">
  <item value="My" href="http://www.vg.no"/>
</putList>
</definition>

<definition name="menu">
<putList name="items">
  <item value="Fnord" list="news.menu"/>
</putList>
</definition>

And in my JSP file I have something that looks like ( Warning, Spring code )
:

<c:forEach items="${menu} var="items">
 <c:forEach items="${items} var="item">
     // Output
     ${item.value}
</c:forEach>
</c:forEach>


Now this syntax is correct if I only have a single putList, but it seems to
fail on recursive ones..
Anyone have a clue about what I do wrong, or if anyone managed to make
recursive lists work?

( If recursive putLists aren't a feature, please read this mail as a feature
request ;) )

In advance
Thanks for the help


Kenneth Østby

Reply via email to