<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%> <%@ page import="org.apache.commons.logging.Log" %> <%@ page import="org.apache.commons.logging.LogFactory" %> <%@ page import="edu.cornell.mannlib.vitro.webapp.web.TabMenu" %> <%@ page import="edu.cornell.mannlib.vitro.webapp.beans.Portal" %> <%@ page import="edu.cornell.mannlib.vitro.webapp.controller.VitroRequest" %> <%@ page import="edu.cornell.mannlib.vitro.webapp.web.BreadCrumbsUtil" %> <%@ page import="edu.cornell.mannlib.vitro.webapp.dao.WebappDaoFactory" %> <%@ page import="edu.cornell.mannlib.vitro.webapp.controller.Controllers" %> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> <% /*********************************************** Make the Tab menu div, nothing else. bdc34 2006-01-03 created **********************************************/ HttpSession currentSession = request.getSession(); String currentSessionIdStr = currentSession.getId(); int securityLevel = -1; String loginName = null; if (loginHandler.testSessionLevel(request) > -1) { securityLevel = Integer.parseInt(loginHandler.getLoginRole()); loginName = loginHandler.getLoginName(); } final Log log = LogFactory.getLog("edu.cornell.mannlib.vitro.web.menu.jsp"); VitroRequest vreq = new VitroRequest(request); Portal portal = vreq.getPortal(); int portalId = -1; if (portal==null) { log.error("Attribute 'portalBean' missing or null; portalId defaulted to 1"); portalId=1; } else { portalId=portal.getPortalId(); } String fixedTabStr=(fixedTabStr=request.getParameter("fixed"))==null?null:fixedTabStr.equals("")?null:fixedTabStr; %>