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

changeset 74
91d1fc2a3a14
parent 71
dca186d3911f
child 77
192298f8161f
equal deleted inserted replaced
73:672b5003cafe 74:91d1fc2a3a14
41 <c:set scope="page" var="mainMenu" value="${requestScope[Constants.REQ_ATTR_MENU]}"/> 41 <c:set scope="page" var="mainMenu" value="${requestScope[Constants.REQ_ATTR_MENU]}"/>
42 42
43 <%-- Define an alias for the main menu --%> 43 <%-- Define an alias for the main menu --%>
44 <c:set scope="page" var="breadcrumbs" value="${requestScope[Constants.REQ_ATTR_BREADCRUMBS]}"/> 44 <c:set scope="page" var="breadcrumbs" value="${requestScope[Constants.REQ_ATTR_BREADCRUMBS]}"/>
45 45
46 <%-- Define an alias for the fragment name --%> 46 <%-- Define an alias for the content page name --%>
47 <c:set scope="page" var="fragment" value="${requestScope[Constants.REQ_ATTR_FRAGMENT]}"/> 47 <c:set scope="page" var="contentPage" value="${requestScope[Constants.REQ_ATTR_CONTENT_PAGE]}"/>
48 48
49 <%-- Define an alias for the optional redirect location --%> 49 <%-- Define an alias for the optional redirect location --%>
50 <c:set scope="page" var="redirectLocation" value="${requestScope[Constants.REQ_ATTR_REDIRECT_LOCATION]}"/> 50 <c:set scope="page" var="redirectLocation" value="${requestScope[Constants.REQ_ATTR_REDIRECT_LOCATION]}"/>
51 51
52 <%-- Define an alias for the additional stylesheet --%> 52 <%-- Define an alias for the additional stylesheet --%>
93 <%@include file="../jspf/menu-entry.jsp" %> 93 <%@include file="../jspf/menu-entry.jsp" %>
94 </c:forEach> 94 </c:forEach>
95 </div> 95 </div>
96 </c:if> 96 </c:if>
97 <div id="content-area"> 97 <div id="content-area">
98 <c:if test="${not empty fragment}"> 98 <c:if test="${not empty contentPage}">
99 <fmt:setBundle scope="request" basename="${moduleInfo.bundleBaseName}"/> 99 <fmt:setBundle scope="request" basename="${moduleInfo.bundleBaseName}"/>
100 <fmt:setBundle scope="request" var="lightpit_bundle" basename="localization.lightpit"/> 100 <fmt:setBundle scope="request" var="lightpit_bundle" basename="localization.lightpit"/>
101 <c:import url="${fragment}"/> 101 <c:import url="${contentPage}"/>
102 </c:if> 102 </c:if>
103 </div> 103 </div>
104 </body> 104 </body>
105 </html> 105 </html>

mercurial