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

changeset 74
91d1fc2a3a14
parent 71
dca186d3911f
child 77
192298f8161f
--- a/src/main/webapp/WEB-INF/jsp/site.jsp	Fri May 22 17:19:09 2020 +0200
+++ b/src/main/webapp/WEB-INF/jsp/site.jsp	Fri May 22 17:26:27 2020 +0200
@@ -43,8 +43,8 @@
 <%-- Define an alias for the main menu --%>
 <c:set scope="page" var="breadcrumbs" value="${requestScope[Constants.REQ_ATTR_BREADCRUMBS]}"/>
 
-<%-- Define an alias for the fragment name --%>
-<c:set scope="page" var="fragment" value="${requestScope[Constants.REQ_ATTR_FRAGMENT]}"/>
+<%-- Define an alias for the content page name --%>
+<c:set scope="page" var="contentPage" value="${requestScope[Constants.REQ_ATTR_CONTENT_PAGE]}"/>
 
 <%-- Define an alias for the optional redirect location --%>
 <c:set scope="page" var="redirectLocation" value="${requestScope[Constants.REQ_ATTR_REDIRECT_LOCATION]}"/>
@@ -95,10 +95,10 @@
     </div>
 </c:if>
 <div id="content-area">
-    <c:if test="${not empty fragment}">
+    <c:if test="${not empty contentPage}">
         <fmt:setBundle scope="request" basename="${moduleInfo.bundleBaseName}"/>
         <fmt:setBundle scope="request" var="lightpit_bundle" basename="localization.lightpit"/>
-        <c:import url="${fragment}"/>
+        <c:import url="${contentPage}"/>
     </c:if>
 </div>
 </body>

mercurial