|
|
@ -30,7 +30,12 @@ menuFinder.getByName(name)
|
|
|
|
<div th:with="menu = ${menuFinder.getByName('menu-foo')}">
|
|
|
|
<div th:with="menu = ${menuFinder.getByName('menu-foo')}">
|
|
|
|
<ul th:with="menuItems = ${menu.menuItems}">
|
|
|
|
<ul th:with="menuItems = ${menu.menuItems}">
|
|
|
|
<li th:each="menuItem : ${menuItems}">
|
|
|
|
<li th:each="menuItem : ${menuItems}">
|
|
|
|
<a th:href="@{${menuItem.status.href}}" th:text="${menuItem.spec.displayName}"></a>
|
|
|
|
<a
|
|
|
|
|
|
|
|
th:href="@{${menuItem.status.href}}"
|
|
|
|
|
|
|
|
th:text="${menuItem.spec.displayName}"
|
|
|
|
|
|
|
|
th:target="${menuItem.spec.target?.value}"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -60,7 +65,12 @@ menuFinder.getPrimary()
|
|
|
|
<div th:with="menu = ${menuFinder.getPrimary()}">
|
|
|
|
<div th:with="menu = ${menuFinder.getPrimary()}">
|
|
|
|
<ul th:with="menuItems = ${menu.menuItems}">
|
|
|
|
<ul th:with="menuItems = ${menu.menuItems}">
|
|
|
|
<li th:each="menuItem : ${menuItems}">
|
|
|
|
<li th:each="menuItem : ${menuItems}">
|
|
|
|
<a th:href="@{${menuItem.status.href}}" th:text="${menuItem.spec.displayName}"></a>
|
|
|
|
<a
|
|
|
|
|
|
|
|
th:href="@{${menuItem.status.href}}"
|
|
|
|
|
|
|
|
th:text="${menuItem.spec.displayName}"
|
|
|
|
|
|
|
|
th:target="${menuItem.spec.target?.value}"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|