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

changeset 74
91d1fc2a3a14
parent 71
dca186d3911f
child 77
192298f8161f
     1.1 --- a/src/main/webapp/WEB-INF/jsp/site.jsp	Fri May 22 17:19:09 2020 +0200
     1.2 +++ b/src/main/webapp/WEB-INF/jsp/site.jsp	Fri May 22 17:26:27 2020 +0200
     1.3 @@ -43,8 +43,8 @@
     1.4  <%-- Define an alias for the main menu --%>
     1.5  <c:set scope="page" var="breadcrumbs" value="${requestScope[Constants.REQ_ATTR_BREADCRUMBS]}"/>
     1.6  
     1.7 -<%-- Define an alias for the fragment name --%>
     1.8 -<c:set scope="page" var="fragment" value="${requestScope[Constants.REQ_ATTR_FRAGMENT]}"/>
     1.9 +<%-- Define an alias for the content page name --%>
    1.10 +<c:set scope="page" var="contentPage" value="${requestScope[Constants.REQ_ATTR_CONTENT_PAGE]}"/>
    1.11  
    1.12  <%-- Define an alias for the optional redirect location --%>
    1.13  <c:set scope="page" var="redirectLocation" value="${requestScope[Constants.REQ_ATTR_REDIRECT_LOCATION]}"/>
    1.14 @@ -95,10 +95,10 @@
    1.15      </div>
    1.16  </c:if>
    1.17  <div id="content-area">
    1.18 -    <c:if test="${not empty fragment}">
    1.19 +    <c:if test="${not empty contentPage}">
    1.20          <fmt:setBundle scope="request" basename="${moduleInfo.bundleBaseName}"/>
    1.21          <fmt:setBundle scope="request" var="lightpit_bundle" basename="localization.lightpit"/>
    1.22 -        <c:import url="${fragment}"/>
    1.23 +        <c:import url="${contentPage}"/>
    1.24      </c:if>
    1.25  </div>
    1.26  </body>

mercurial