<%-- -- Name: em/metrics/baselines/normalizedBaseline.jsp -- Description: This is the JSP for the Normalized Baseline page. -- -- Controller: oracle.sysman.eml.metrics.bsln.ctlr.EmBaselineController -- -- Notes: -- -- MODIFIED (MM/DD/YY) -- jsoule 07/19/05 - always include target hidden inputs -- jsoule 07/12/05 - add noscript tag -- jsoule 04/14/05 - pass name param -- balnaff 03/15/05 - implementing auto refresh -- jsoule 03/04/05 - keep target, type in Refresh -- jsoule 12/21/04 - fix message box -- jsoule 11/11/04 - check for missing baseline -- jsoule 11/03/04 - expose categories dynamically -- jsoule 10/15/04 - associate configure with chart, not page -- jsoule 10/13/04 - reorder page buttons -- jsoule 10/08/04 - Relocated to core -- jsoule 09/21/04 - dynamically set the height of the normalization -- chart -- jsoule 08/31/04 - configure button -- jsoule 08/16/04 - do not use common param names -- jsoule 07/30/04 - jsoule_add_baseline_model -- jsoule 07/29/04 - move content to baseline view -- jsoule 07/28/04 - add stacked normalization chart -- jsoule 07/27/04 - update normalized baseline page -- jsoule 07/23/04 - Created --%> <%@ include file="/sdk/oemTop.jspf" %> <%@ include file="/oemNoscript.jspf" %> <%@ 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.chart.EmChartConstants" %> <%@ page import="oracle.sysman.emSDK.eml.EmlConstants" %> <%@ page import="oracle.sysman.emSDK.eml.SDKUIMsgID" %> <%@ page import="oracle.sysman.emSDK.eml.BaselineMsgID" %> <%@ page import="oracle.sysman.emSDK.page.mtrx.bsln.BaselineConstants" %> <%@ page import="oracle.sysman.emSDK.page.mtrx.bsln.BaselineUIConstants" %> <%@ page import="oracle.sysman.eml.rsc.bsln.EmBaselineMsgID" %> <%-- JavaBean references --%> <%-- JavaScript functions --%> <%-- JSP Rendering Tags --%> <%@ include file="/enablePPR.jspf" %> <%@ include file="/oemTitle.jspf" %> <%-- Page layout constants --%> <% final int CHART_WIDTH = 600; final int LEGEND_WIDTH = 300; final int DAMPENING_ROW_HEIGHT = 40; final int PROMPT_WIDTH = 12; final int RADIO_SPACER_WIDTH = 5; %> <%@ include file="/oemGlobal.jspf" %> <%-- Message area --%> <%@ include file="/metrics/baselines/baselineMessage.jspf" %> <%-- Normalized Metric Values --%> <%-- JFS: 11/2/04 The following reproduction of the UINode tree works around the issue with the tag: namely that the UINode generated by the tag relies on an EmChartBean containing the attribute values, which are not updated when the UINode is rendered multiple times subject to different data bindings. --%> <% if (baselinePageView.hasBaseline()) { oracle.cabo.ui.data.DataObject category; oracle.cabo.ui.data.DataObjectList categories = baselinePageView.getBaselineView().getCategories(); for (int catI = 0; catI < categories.getLength(); catI++) { category = categories.getItem(catI); //////////////////////////////// // Retrieval of these attributes happens after the UINode // construction loop completes...so the keys must be unique. //////////////////////////////// request.setAttribute(new StringBuffer(EmChartConstants.COLORPALETTE_KEY).append(catI).toString(), category.selectValue(null, EmChartConstants.COLORPALETTE_KEY)); request.setAttribute(new StringBuffer(EmChartConstants.CHARTDATASOURCE_KEY).append(catI).toString(), category.selectValue(null, EmChartConstants.CHARTDATASOURCE_KEY)); %> <%-- Categorized Metrics --%> <% } } %> <%-- Noise Reduction --%> <%-- Hidden form inputs --%> <%-- Configure button --%> <%-- Refresh button --%>