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

changeset 205
7725a79416f3
parent 204
54c612612c69
child 207
479dd7993ef9
equal deleted inserted replaced
204:54c612612c69 205:7725a79416f3
40 <c:set scope="page" var="requestPath" value="${requestScope[Constants.REQ_ATTR_PATH]}"/> 40 <c:set scope="page" var="requestPath" value="${requestScope[Constants.REQ_ATTR_PATH]}"/>
41 41
42 <%-- Define an alias for the navigation 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 custom page title --%>
46 <c:set scope="page" var="pageTitle" value="${requestScope[Constants.REQ_ATTR_PAGE_TITLE]}"/>
47
45 <%-- Define an alias for the content page name --%> 48 <%-- Define an alias for the content page name --%>
46 <c:set scope="page" var="contentPage" value="${requestScope[Constants.REQ_ATTR_CONTENT_PAGE]}"/> 49 <c:set scope="page" var="contentPage" value="${requestScope[Constants.REQ_ATTR_CONTENT_PAGE]}"/>
47 50
48 <%-- Define an alias for the optional redirect location --%> 51 <%-- Define an alias for the optional redirect location --%>
49 <c:set scope="page" var="redirectLocation" value="${requestScope[Constants.REQ_ATTR_REDIRECT_LOCATION]}"/> 52 <c:set scope="page" var="redirectLocation" value="${requestScope[Constants.REQ_ATTR_REDIRECT_LOCATION]}"/>
57 60
58 <!DOCTYPE html> 61 <!DOCTYPE html>
59 <html> 62 <html>
60 <head> 63 <head>
61 <base href="${baseHref}"> 64 <base href="${baseHref}">
62 <title><fmt:message key="app.title"/></title> 65 <title>
66 LightPIT
67 <c:if test="${not empty pageTitle}"> - <c:out value="${pageTitle}"/></c:if>
68 </title>
63 <meta charset="UTF-8"> 69 <meta charset="UTF-8">
64 <c:if test="${not empty redirectLocation}"> 70 <c:if test="${not empty redirectLocation}">
65 <meta http-equiv="refresh" content="0; URL=${redirectLocation}"> 71 <meta http-equiv="refresh" content="0; URL=${redirectLocation}">
66 </c:if> 72 </c:if>
67 <link rel="stylesheet" href="lightpit.css" type="text/css"> 73 <link rel="stylesheet" href="lightpit.css" type="text/css">

mercurial