<%-- * 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$ --%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib uri="uitaglib" prefix="ui" %> <%@ page import="com.intland.codebeamer.controller.support.GlobalMessages"%> <%@ page import="java.util.List"%> <%-- JSP include renders global messages added to GlobalMessages object in the previous request. --%> <% GlobalMessages globalMessages = GlobalMessages.getInstance(request); int[] levels = new int[] {GlobalMessages.ERROR, GlobalMessages.WARNING, GlobalMessages.INFO }; // css classes for each level String[] cssClasses = new String[] {"error", "warning", "information"}; String[] tooltips = new String[] { "Error", "Warning", "Information"}; %>
class='invisible' > <% for (int i=0; i
">invisible" title="<%=tooltip%>" >
<% } %>
<%-- clear the messages already shown --%> <%globalMessages.clear();%> <%-- load the companion javascript dynamically showing globalMessages --%>