<%-- * Copyright by Intland Software * * All rights reserved. * * This software is the confidential and proprietary information * of Intland Software. ("Confidential Information"). You * shall not disclose such Confidential Information and shall use * it only in accordance with the terms of the license agreement * you entered into with Intland. * * $Revision$ $Date$ --%> <%@ page import="com.intland.codebeamer.Config"%> <%@ page import="com.intland.codebeamer.taglib.performance.RequestResourceManager"%> <%@ page import="com.intland.codebeamer.ajax.events.AjaxEventService"%> <%@ taglib uri="uitaglib" prefix="ui" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> " type="image/png" /> <%--switch if the concatenated CSS "all.css" is used --%> <%-- switch if the concatenated js files "all.js" is used --%> <%-- set few javascript variables, so it is available for all javascripts --%> <%-- all.css is built by build.xml --%> " type="text/css" media="all" /> " type="text/css" media="all" /> " type="text/css" media="all" /> " type="text/css" media="all" /> " type="text/css" media="print" /> <%-- CodeBeamer Javascript --%> <%-- Spring MVC Javascript --%> <%-- Comment it out to overwrite some CSS definitions. " type="text/css" media="all" /> --%> <%-- YUI Javascript --%> <%-- change this value if you want different package for yui libs values could be either: "", "-min" or "-debug" NOTE: -debug causes js-errors in menu-debug.js and popupmenu.js, so not recommended to use --%> <%-- Javascripts for calendar --%> <%-- YUI stylesheets --%> " type="text/css" media="all"> " type="text/css" media="all"> " type="text/css" media="all"> " type="text/css" media="all"> " type="text/css" media="all"> " type="text/css" media="all"> <%-- CSS for calendar --%> <%-- ToolBarTag and the top menu needs this js --%> <% // to avoid duplicate load of this script marking it as loaded RequestResourceManager.getInstance(request).markResourceLoaded("/js/toolbarTag.js"); %> <%-- script will highlight all table-rows where checkboxes are checked --%> <%-- --%> <%-- change this to enable/disable preview functionality --%> <% String enablePreviewParam = request.getParameter("enablePreview"); if (enablePreviewParam == null) { // find the value from cookie Cookie[] cookies = request.getCookies(); for (int i = 0, len = (cookies == null ? 0 : cookies.length); i < len; i++) { Cookie cookie = cookies[i]; if ("CODEBEAMER_PREVIEW_ENABLED".equals(cookie.getName())) { enablePreviewParam = cookie.getValue(); break; } } } Boolean enablePreview = enablePreviewParam == null ? Boolean.TRUE : Boolean.valueOf(enablePreviewParam); pageContext.setAttribute("enablePreview", enablePreview); %> <%-- TODO: to make the panel look nice we'd need this CSS, does it work ? " type="text/css" media="all"> --%> " type="text/css" media="all" /> <%-- Not used, because does not work reliably --%> <%-- Javascript internatinalization object --%>