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

changeset 96
b7b685f31e39
parent 86
0a658e53177c
child 109
2e0669e814ff
equal deleted inserted replaced
95:0552cc5755f3 96:b7b685f31e39
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 main menu --%>
43 <c:set scope="page" var="breadcrumbs" value="${requestScope[Constants.REQ_ATTR_BREADCRUMBS]}"/> 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
48 <%-- Define an alias for the optional redirect location --%> 48 <%-- Define an alias for the optional redirect location --%>
81 <div id="mainMenu"> 81 <div id="mainMenu">
82 <c:forEach var="menu" items="${mainMenu}"> 82 <c:forEach var="menu" items="${mainMenu}">
83 <%@include file="../jspf/menu-entry.jsp" %> 83 <%@include file="../jspf/menu-entry.jsp" %>
84 </c:forEach> 84 </c:forEach>
85 </div> 85 </div>
86 <c:if test="${not empty breadcrumbs}"> 86 <div>
87 <div id="breadcrumbs"> 87 <c:if test="${not empty navMenu}">
88 <c:forEach var="menu" items="${breadcrumbs}"> 88 <div id="sideMenu">
89 <%@include file="../jspf/menu-entry.jsp" %> 89 <c:forEach var="menu" items="${navMenu}">
90 </c:forEach> 90 <%@include file="../jspf/menu-entry.jsp" %>
91 </c:forEach>
92 </div>
93 </c:if>
94 <div id="content-area" <c:if test="${not empty navMenu}">class="sidebar-spacing"</c:if>>
95 <c:if test="${not empty contentPage}">
96 <c:import url="${contentPage}"/>
97 </c:if>
91 </div> 98 </div>
92 </c:if>
93 <div id="content-area">
94 <c:if test="${not empty contentPage}">
95 <c:import url="${contentPage}"/>
96 </c:if>
97 </div> 99 </div>
98 </body> 100 </body>
99 </html> 101 </html>

mercurial