<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%> <%@ page import="edu.cornell.mannlib.vitro.webapp.beans.Tab" %> <%@page import="edu.cornell.mannlib.vedit.beans.LoginStatusBean"%> <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> <%@ page errorPage="/error.jsp"%> <% /*********************************************** Displays the little group of things at the bottom of the page for administrators and editors. request.attributes: an Tab object with the name "leadingTab" request.parameters: None, should only work with requestScope attributes for security reasons. Consider sticking < % = MiscWebUtils.getReqInfo(request) % > in the html output for debugging info. bdc34 2006-01-22 created **********************************************/ Tab leadingTab = (Tab) request.getAttribute("leadingTab"); if (leadingTab == null) { String e = "tabAdmin.jsp expects that request attribute 'leadingTab' be set to a TabBean object"; throw new JspException(e); } %> <% if ( LoginStatusBean.getBean(request).isLoggedInAtLeast(LoginStatusBean.EDITOR)) { %> <%/* just moving this into page scope for easy use */ %> <% } %>