1. Ralph Bean
  2. tw2.jqplugins.fg

Source

tw2.jqplugins.fg / tw2 / jqplugins / fg / templates / recursive_menu.html


<li xmlns:py="http://genshi.edgewall.org/"
    xmlns:xi="http://www.w3.org/2001/XInclude">
    <a href="${item.get('href', '#')}" id="${w.attrs['id']}:target:${item.get('key', '')}">${item.get('name', None)}</a>
    <ul py:if="len(item.get('children', [])) > 0">
    <py:for each="child in item.get('children', [])">
        <xi:include href="recursive_menu.html" py:with="item=child;" />
    </py:for>
    </ul>
</li>