Edit D:\app\Administrator\product\11.2.0\dbhome_1\j2ee\OC4J_EM\applications\em\em\ecm\policy\trend\policyTargetTrendOverview.jsp
<%-- -- Page: policyTargetTrendOverview.jsp -- Controller: oracle.sysman.eml.ecm.policy.trend.PolicyTrendOverviewController -- -- MODIFIED (MM/DD/YY) -- niramach 08/25/05 - Fix for bug 4563113.Increase the pie chart width and height -- - to work for more number of slices. -- - Set the tool tips for data points -- kchiasso 07/22/05 - add btn sd -- niramach 06/17/05 - Fix for bug 4096329. -- niramach 05/27/05 - Set Yaxis min and max values for comp score -- chart as 0 and 100. -- groyal 02/14/05 - Increase width of violation count by severity -- chart -- groyal 01/20/05 - UI Exit review comments -- niramach 12/28/04 - chart conversions as per UI review comments --%> <%@ include file="/sdk/oemTop.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.eml.ecm.policy.PolicyJspConstants" %> <jsp:useBean id="trendOverviewBean" scope="request" type="oracle.sysman.eml.ecm.policy.trend.PolicyTrendOverviewJspBean"/> <uix:renderingContext id="renderingContext"> <oem:setURLEncoder id="renderingContext"/> <uix:bundle name="policyBundle" class="oracle.sysman.eml.ecm.policy.util.PolicyJspMsg" /> <uix:document> <%@ include file="/oemTitle.jspf" %> <uix:body> <uix:form name="targetTrendOverviewForm" method="get"> <uix:pageLayout> <%@ include file="/oemGlobal.jspf" %> <uix:header textBinding="HDR_VIOL_TRENDOVERVIEW@policyBundle"> <uix:stackLayout> <uix:rowLayout width="100%"> <uix:cellFormat hAlign="right"> <uix:styledText styleClass="OraTipText" textBinding="collectedDataLabel@trendOverviewBean@servletRequest"/> <uix:spacer width="5"/> <uix:styledText styleClass="OraTipLabel" textBinding="latestCollectedDate@trendOverviewBean@servletRequest"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout width="100%"> <uix:cellFormat hAlign="right"> <%-- Time period pull down menu --%> <uix:styledText styleClass="OraFieldText" textBinding="LBL_VIEWDATA@policyBundle"/> <uix:spacer width="10"/> <uix:choice name="timePeriod" onChange="submitForm('targetTrendOverviewForm', true, {'event':'timePeriodChg'})" selectedValueBinding="selectedViewData@servletRequest"> <uix:contents childDataBinding="viewDataDataSrc@trendOverviewBean@servletRequest"> <uix:option textBinding="text" valueBinding="value" /> </uix:contents> </uix:choice> <uix:spacer width="5"/> <uix:switcher childNameBinding="editCustom@trendOverviewBean@servletRequest"> <uix:case name="true"> <uix:submitButton name="event" value="timePeriodChg" shortDescBinding="BTN_EDIT@policyBundle" textBinding="BTN_EDIT@policyBundle" /> </uix:case> </uix:switcher> </uix:cellFormat> </uix:rowLayout> <uix:tableLayout> <%-- New violations by category pie chart --%> <uix:rowLayout hAlign="left"> <uix:header textBinding="violByCategoryHeader@trendOverviewBean@servletRequest"> <uix:switcher childNameBinding="newViolByCategoryFlag@trendOverviewBean@servletRequest"> <uix:case name="true"> <oem:chart chartType="pieChart" width="500" height="150" legendWidthFraction="0.75" shortDescBinding="violByCategoryHeader@trendOverviewBean@servletRequest" pieValuesInLegend="value" showSlicePercentLabels="true" hideZeroSlices="true"> <oem:boundChartDataSource chartDataSourceBinding="categoryPieChartDataSource@trendOverviewBean@servletRequest"/> <oem:imageMap imageMapItemsBinding="pieChartImageMap@trendOverviewBean@servletRequest"/> <oem:chartColumn isKey="true" sourceIndex="0"/> <oem:chartColumn sourceIndex="1"/> </oem:chart> </uix:case> <uix:case name="false"> <uix:rowLayout > <uix:styledText styleClass="OraFieldText" textBinding="noNewViolMsg@trendOverviewBean@servletRequest"/> </uix:rowLayout> </uix:case> </uix:switcher> </uix:header> </uix:rowLayout> </uix:tableLayout> <uix:tableLayout> <%-- Trend overview header--%> <uix:rowLayout> <uix:header textBinding="violHeader@trendOverviewBean@servletRequest"> <%-- Category filter --%> <uix:rowLayout> <uix:cellFormat hAlign="right" wrappingDisabled="true"> <uix:styledText styleClass="OraFieldText" textBinding="LBL_CATEGORY@policyBundle"/> </uix:cellFormat> <uix:spacer width="10"/> <uix:choice name="category" selectedValueBinding="selectedCategoryData@servletRequest"> <uix:contents childDataBinding="categoryDataSrc@trendOverviewBean@servletRequest"> <uix:option textBinding="text" valueBinding="value" /> </uix:contents> </uix:choice> <uix:spacer width="10"/> <uix:submitButton name="event" value="Refresh" textBinding="BTN_GO@policyBundle"/> </uix:rowLayout> <uix:separator/> <%-- Violation Summary Table --%> <uix:rowLayout> <uix:cellFormat hAlign="left" vAlign="top" width="80%"> <uix:ref refID="POLICY_VIOLATIONS_SUMMARY_rollupBySeverity"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <%-- Violation count by Severity chart --%> <uix:cellFormat hAlign="left" vAlign="top" width="50%"> <uix:header textBinding="HDR_VIOL_COUNT_BY_SEVERITY@policyBundle"> <oem:chart chartType="timeSeriesBarChart" width="480" height="220" orientation="vertical" seriesSymbolsAutomatic="true" legendPosition="east" legendWidthFraction="0.75" xAxisMinBinding="violCountXAxisMin@trendOverviewBean@servletRequest" xAxisMaxBinding="violCountXAxisMax@trendOverviewBean@servletRequest" timeGranularity="HOUR" timeLabelAlignment="wholeXAxis" shortDescBinding="HDR_VIOL_COUNT_BY_SEVERITY@policyBundle" barWidthFraction="0.25" stacked="true"> <uix:contents> <oem:boundChartDataSource chartDataSourceBinding="violCountChartDataSource@trendOverviewBean@servletRequest" /> <oem:imageMap imageMapItemsBinding="violCountChartImageMap@trendOverviewBean@servletRequest"/> <oem:chartColumn isTimeColumn="true" displayLabel="Date" sourceIndex="3" /> <%-- Item colors are as per the violation count severity icon colors . Colors are picked up from oracle.sysman.eml.mntr.target.TargetData --%> <oem:chartColumn displayLabelBinding="criticalViolLegend@trendOverviewBean@servletRequest" sourceIndex="2" itemColor="#FF0000"/> <oem:chartColumn displayLabelBinding="warningViolLegend@trendOverviewBean@servletRequest" sourceIndex="1" itemColor="yellow"/> <oem:chartColumn displayLabelBinding="infoViolLegend@trendOverviewBean@servletRequest" sourceIndex="0" itemColor="#6699CC"/> </uix:contents> </oem:chart> </uix:header> </uix:cellFormat> <%-- Compliance score --%> <uix:cellFormat hAlign="right" vAlign="top" width="50%"> <uix:header textBinding="LBL_COMPLIANCESCORE@policyBundle"> <oem:chart chartType="timeSeriesChart" width="420" height="220" orientation="vertical" seriesColorsAutomatic="true" seriesSymbolsAutomatic="true" legendVisible="false" xAxisMinBinding="compScoreXAxisMin@trendOverviewBean@servletRequest" xAxisMaxBinding="compScoreXAxisMax@trendOverviewBean@servletRequest" axisMin="0" axisMax="100" timeGranularity="HOUR" shortDescBinding="LBL_COMPLIANCESCORE@policyBundle" > <uix:contents> <oem:boundChartDataSource chartDataSourceBinding="complianceScoreDataSource@trendOverviewBean@servletRequest" /> <oem:imageMap imageMapItemsBinding="compScoreChartImageMap@trendOverviewBean@servletRequest"/> <oem:chartColumn isTimeColumn="true" displayLabel="Date" sourceIndex="1" /> <oem:chartColumn sourceIndex="0" /> </uix:contents> </oem:chart> </uix:header> </uix:cellFormat> </uix:rowLayout> </uix:header> </uix:rowLayout> <%-- Policy headlines table is not required <%-- Policy Headlines table <uix:rowLayout> <uix:header textBinding="HDR_POLICY_HEADLINES@policyBundle"> <uix:dataScope currentDataBinding="headlinesDataSrc@trendOverviewBean@servletRequest"> <uix:table name="policyHeadlines" alternateTextBinding="NO_RESULTS_FOUND@policyBundle" formSubmitted="true" width="100%" tableDataBinding="rowData@headlinesDataSrc@trendOverviewBean@servletRequest" minValue="1" valueBinding="startIndex@headlinesDataSrc@trendOverviewBean@servletRequest" maxValueBinding="numRows@headlinesDataSrc@trendOverviewBean@servletRequest" blockSize="blockSize@headlinesDataSrc@trendOverviewBean@servletRequest" partialRenderMode="self"> <uix:tableFormat tableBanding="rowBanding"/> <%-- Time stamp column <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="LBL_TIMESTAMP@policyBundle" sortableBinding="SORT_TIMESTAMP" /> </uix:columnHeader> <uix:columnFormat columnDataFormat="dateFormat"/> <uix:styledText textBinding="LBL_TIMESTAMP"/> </uix:column> <%-- Severity column <uix:column> <uix:columnHeader> <uix:styledText textBinding="LBL_SEVERITY@policyBundle" /> </uix:columnHeader> <uix:columnFormat columnDataFormat="iconButtonFormat"/> <uix:image sourceBinding="<%= PolicyJspConstants.S_IMG_SEVERITY %>" shortDescBinding="<%= PolicyJspConstants.S_SHORT_SEVERITY %>"/> </uix:column> <%-- Message column <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="LBL_MESSAGE@policyBundle" sortableBinding="SORT_MESSAGE" /> </uix:columnHeader> <uix:columnFormat columnDataFormat="textFormat"/> <uix:styledText textBinding="LBL_MESSAGE"/> </uix:column> </uix:table> </uix:dataScope> </uix:header> </uix:rowLayout> --%> </uix:tableLayout> </uix:stackLayout> </uix:header> </uix:pageLayout> </uix:form> </uix:body> </uix:document> </uix:renderingContext>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de