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

changeset 109
2e0669e814ff
parent 96
b7b685f31e39
child 115
c27638a50c92
equal deleted inserted replaced
108:6657dad897ea 109:2e0669e814ff
37 <c:set scope="page" var="requestPath" value="${requestScope[Constants.REQ_ATTR_PATH]}"/> 37 <c:set scope="page" var="requestPath" value="${requestScope[Constants.REQ_ATTR_PATH]}"/>
38 38
39 <%-- Define an alias for the main menu --%> 39 <%-- Define an alias for the main menu --%>
40 <c:set scope="page" var="mainMenu" value="${requestScope[Constants.REQ_ATTR_MENU]}"/> 40 <c:set scope="page" var="mainMenu" value="${requestScope[Constants.REQ_ATTR_MENU]}"/>
41 41
42 <%-- Define an alias for the main menu --%> 42 <%-- Define an alias for the navigation menu --%>
43 <c:set scope="page" var="navMenu" value="${requestScope[Constants.REQ_ATTR_NAVIGATION]}"/> 43 <c:set scope="page" var="navMenu" value="${requestScope[Constants.REQ_ATTR_NAVIGATION]}"/>
44 44
45 <%-- Define an alias for the content page name --%> 45 <%-- Define an alias for the content page name --%>
46 <c:set scope="page" var="contentPage" value="${requestScope[Constants.REQ_ATTR_CONTENT_PAGE]}"/> 46 <c:set scope="page" var="contentPage" value="${requestScope[Constants.REQ_ATTR_CONTENT_PAGE]}"/>
47 47
84 </c:forEach> 84 </c:forEach>
85 </div> 85 </div>
86 <div> 86 <div>
87 <c:if test="${not empty navMenu}"> 87 <c:if test="${not empty navMenu}">
88 <div id="sideMenu"> 88 <div id="sideMenu">
89 <c:forEach var="menu" items="${navMenu}"> 89 <c:import url="${navMenu}"/>
90 <%@include file="../jspf/menu-entry.jsp" %>
91 </c:forEach>
92 </div> 90 </div>
93 </c:if> 91 </c:if>
94 <div id="content-area" <c:if test="${not empty navMenu}">class="sidebar-spacing"</c:if>> 92 <div id="content-area" <c:if test="${not empty navMenu}">class="sidebar-spacing"</c:if>>
95 <c:if test="${not empty contentPage}"> 93 <c:if test="${not empty contentPage}">
96 <c:import url="${contentPage}"/> 94 <c:import url="${contentPage}"/>

mercurial