<%-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --%> <%@ include file="../../../initTemplatesLayoutNormal.jsp" %> <%@page import="java.util.ResourceBundle"%> <%@page import="java.util.Locale"%> <%@page import="javax.servlet.jsp.jstl.core.Config"%> <%@page import="javax.servlet.jsp.jstl.fmt.LocalizationContext"%> <%-- /** * @author Mohan Kannapareddy */ --%> <% //get the messages resourcebundle Locale _tmpLocale = (Locale) renderRequest.getLocale(); ResourceBundle _messages = (ResourceBundle) portletConfig.getResourceBundle(renderRequest.getLocale()); pageContext.setAttribute("messages", _messages, PAGE_SCOPE); //Now set the JSTL default format bundle ** FORMAT BUNDLE ** javax.servlet.jsp.jstl.core.Config.set(request,Config.FMT_LOCALIZATION_CONTEXT, new LocalizationContext(_messages, _tmpLocale)); //head LayoutDecoration pageDecoration = _theme.getPageLayoutDecoration(); // get the layout decoration header file String headerJSP = pageDecoration.getHeader(); if (!(headerJSP.startsWith("/"))) { headerJSP = "/" + headerJSP; } pageContext.setAttribute("layoutHeaderJSP", headerJSP, PAGE_SCOPE); // get the layout decoration footer file String footerJSP = pageDecoration.getFooter(); if (!(footerJSP.startsWith("/"))) { footerJSP = "/" + footerJSP; } pageContext.setAttribute("layoutFooterJSP", footerJSP, PAGE_SCOPE); %> <%-- ***** BEGIN header.jsp ***** --%> <%-- ***** END header.jsp ***** --%> <%-- ***** BEGIN help contents ***** --%>

view

help

edit

select

minimize

maximize

restore

edit

print

close

move up

move down

move left

move right

<%-- ***** END help contents ***** --%> <%-- ***** BEGIN footer.jsp ***** --%> <%-- ***** END footer.jsp ***** --%>