<%-- * Copyright (c) 2003, 2006, Oracle. All rights reserved. * * NAME * svcChartsSegment.jsp * * NOTES * Service Charts segment * * MODIFIED * eporter 06/09/06 - Make the Business charts clickable * eporter 02/22/06 - Add Business alerts * --%> <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix"%> <%@ taglib uri="http://xmlns.oracle.com/oem/jsp/tag" prefix="oem"%> <%@ page import='oracle.sysman.emSDK.page.seg.PageSegmentContext' %> <% int numCharts=0; String sNumCharts = (String) (((PageSegmentContext) request.getAttribute("pageSegmentContext")).getAttribute("numCharts")); if (sNumCharts != null) { numCharts = (new Integer(sNumCharts)).intValue(); } else { numCharts = 0; } if (numCharts ==0) { %> <% } %> <% int numPerfCharts = 0; String pCharts = (String) (((PageSegmentContext) request.getAttribute("pageSegmentContext")).getAttribute("numPerfCharts")); if (pCharts != null) { numPerfCharts = (new Integer(pCharts)).intValue(); } for (int i=0; i < numPerfCharts; i++) { String chartKey = "chartKey_Performance" + i; %> <% } %> <% int numUsageCharts = 0; String uCharts = (String) (((PageSegmentContext) request.getAttribute("pageSegmentContext")).getAttribute("numUsageCharts")); if (uCharts != null) { numUsageCharts = (new Integer(uCharts)).intValue(); } for (int i=0; i < numUsageCharts; i++) { String key = "chartKey_Usage" + i; %> <% } %> <% int numBusinessCharts = 0; String bCharts = (String) (((PageSegmentContext) request.getAttribute("pageSegmentContext")).getAttribute("numBusinessCharts")); if (bCharts != null) { numBusinessCharts = (new Integer(bCharts)).intValue(); } for (int i=0; i < numBusinessCharts; i+=2) { String key = "chartKey_Business" + i; %> <% } %> <% int numBusinessCharts = 0; String bCharts = (String) (((PageSegmentContext) request.getAttribute("pageSegmentContext")).getAttribute("numBusinessCharts")); if (bCharts != null) { numBusinessCharts = (new Integer(bCharts)).intValue(); } for (int i=1; i < numBusinessCharts; i+=2) { String key = "chartKey_Business" + i; %> <% } %>