Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Navigation View using the Sitemap classes for DD4T 2 Java
<%@ taglib prefix="c" uri="" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!-- View Models -->
<jsp:useBean id="navigationModel" type="" scope="request"/>
<c:forEach items="${navigationModel.getTopNavigation()}" var="item">
<li class="nav-cols">
<a href="#">${item.title}</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment