src/main/webapp/WEB-INF/jsp/site.jsp

changeset 109
2e0669e814ff
parent 96
b7b685f31e39
child 115
c27638a50c92
     1.1 --- a/src/main/webapp/WEB-INF/jsp/site.jsp	Thu Oct 08 18:28:16 2020 +0200
     1.2 +++ b/src/main/webapp/WEB-INF/jsp/site.jsp	Thu Oct 08 20:16:47 2020 +0200
     1.3 @@ -39,7 +39,7 @@
     1.4  <%-- Define an alias for the main menu --%>
     1.5  <c:set scope="page" var="mainMenu" value="${requestScope[Constants.REQ_ATTR_MENU]}"/>
     1.6  
     1.7 -<%-- Define an alias for the main menu --%>
     1.8 +<%-- Define an alias for the navigation menu --%>
     1.9  <c:set scope="page" var="navMenu" value="${requestScope[Constants.REQ_ATTR_NAVIGATION]}"/>
    1.10  
    1.11  <%-- Define an alias for the content page name --%>
    1.12 @@ -86,9 +86,7 @@
    1.13  <div>
    1.14      <c:if test="${not empty navMenu}">
    1.15          <div id="sideMenu">
    1.16 -            <c:forEach var="menu" items="${navMenu}">
    1.17 -                <%@include file="../jspf/menu-entry.jsp" %>
    1.18 -            </c:forEach>
    1.19 +            <c:import url="${navMenu}"/>
    1.20          </div>
    1.21      </c:if>
    1.22      <div id="content-area" <c:if test="${not empty navMenu}">class="sidebar-spacing"</c:if>>

mercurial