<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%> <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%><%/* this odd thing points to something in web.xml */ %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <%@ page errorPage="/error.jsp"%> <% /*********************************************** Display a list of entities for a tab. request.attributes: a List of Entity objects with the name "entities" portal id as "portal" request.parameters: None yet. Consider sticking < % = MiscWebUtils.getReqInfo(request) % > in the html output for debugging info. bdc34 2006-01-27 created **********************************************/ if (request.getAttribute("entities") == null){ String e="entityListForTabs.jsp expects that request attribute 'entities' be set to a List of Entity objects."; throw new JspException(e); } %> <%/* just moving this into page scope for easy use */ %> <%-- Show pages to select from --%> <% if( request.getAttribute("alpha") != null && ! "all".equalsIgnoreCase((String)request.getAttribute("alpha"))) { request.setAttribute("pageAlpha",request.getAttribute("alpha")); }else{ request.setAttribute("pageAlpha",request.getAttribute("all")); } %>
Pages: ${requestScope.tabId} ${page.index} ${requestScope.pageAlpha} ${page.text} ${page.text}