web/WEB-INF/jsp/html_full.jsp

changeset 15
bb594abac796
parent 13
f4608ad6c947
child 24
8137ec335416
equal deleted inserted replaced
14:2b270c714678 15:bb594abac796
40 <c:set scope="page" var="extraCss" value="${requestScope[Constants.REQ_ATTR_STYLESHEET]}"/> 40 <c:set scope="page" var="extraCss" value="${requestScope[Constants.REQ_ATTR_STYLESHEET]}"/>
41 41
42 <%-- Define an alias for the module info --%> 42 <%-- Define an alias for the module info --%>
43 <c:set scope="page" var="moduleInfo" value="${requestScope[Constants.REQ_ATTR_MODULE_INFO]}"/> 43 <c:set scope="page" var="moduleInfo" value="${requestScope[Constants.REQ_ATTR_MODULE_INFO]}"/>
44 44
45 <%-- Apply the session locale (should always be present, but check nevertheless) --%>
46 <c:if test="${not empty sessionScope[Constants.SESSION_ATTR_LANGUAGE]}">
47 <fmt:setLocale scope="request" value="${sessionScope[Constants.SESSION_ATTR_LANGUAGE]}"/>
48 </c:if>
49
45 <!DOCTYPE html> 50 <!DOCTYPE html>
46 <html> 51 <html>
47 <head> 52 <head>
48 <base href="${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}/"> 53 <base href="${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}/">
49 <title>LightPIT - 54 <title>LightPIT -
76 <div id="subMenu"> 81 <div id="subMenu">
77 82
78 </div> 83 </div>
79 <div id="content-area"> 84 <div id="content-area">
80 <c:if test="${not empty fragment}"> 85 <c:if test="${not empty fragment}">
81 <c:import url="${fragment}" /> 86 <fmt:setBundle scope="request" basename="${moduleInfo.bundleBaseName}"/>
87 <c:import url="${fragment}" />
82 </c:if> 88 </c:if>
83 </div> 89 </div>
84 </body> 90 </body>
85 </html> 91 </html>

mercurial