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

changeset 86
0a658e53177c
parent 78
bb4c52bf3439
child 96
b7b685f31e39
equal deleted inserted replaced
85:3d16ad54b3dc 86:0a658e53177c
24 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 24 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 --%> 26 --%>
27 <%@page contentType="text/html" pageEncoding="UTF-8" trimDirectiveWhitespaces="true" %> 27 <%@page contentType="text/html" pageEncoding="UTF-8" trimDirectiveWhitespaces="true" %>
28 <%@page import="de.uapcore.lightpit.Constants" %> 28 <%@page import="de.uapcore.lightpit.Constants" %>
29 <%@page import="de.uapcore.lightpit.modules.ProjectsModule" %>
30 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 29 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
31 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 30 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
32 <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> 31 <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
33 32
34 <%-- Make the base href easily available at request scope --%> 33 <%-- Make the base href easily available at request scope --%>
57 56
58 <%-- Apply the session locale (should always be present, but check nevertheless) --%> 57 <%-- Apply the session locale (should always be present, but check nevertheless) --%>
59 <c:if test="${not empty sessionScope[Constants.SESSION_ATTR_LANGUAGE]}"> 58 <c:if test="${not empty sessionScope[Constants.SESSION_ATTR_LANGUAGE]}">
60 <fmt:setLocale scope="request" value="${sessionScope[Constants.SESSION_ATTR_LANGUAGE]}"/> 59 <fmt:setLocale scope="request" value="${sessionScope[Constants.SESSION_ATTR_LANGUAGE]}"/>
61 </c:if> 60 </c:if>
62
63 <%-- Selected project, if any --%>
64 <c:set scope="page" var="selectedProject" value="${sessionScope[ProjectsModule.SESSION_ATTR_SELECTED_PROJECT]}"/>
65 61
66 <%-- Load resource bundles --%> 62 <%-- Load resource bundles --%>
67 <fmt:setBundle scope="request" basename="${bundleName}"/> 63 <fmt:setBundle scope="request" basename="${bundleName}"/>
68 <fmt:setBundle scope="request" var="lightpit_bundle" basename="localization.lightpit"/> 64 <fmt:setBundle scope="request" var="lightpit_bundle" basename="localization.lightpit"/>
69 65

mercurial