Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\database\baselines\metricAnalysisDirected.jspf
<uix:form name="metricDisplayForm"> <uix:formValue name="target" valueBinding="targetName"/> <uix:formValue name="type" valueBinding="targetType"/> <uix:formValue name="<%= BaselineConstants.PARAM_ANALYSISMODE %>" value="<%= BaselineConstants.ANALYSISMODE_DIRECTED %>"/> <uix:formValue name="<%= BaselineConstants.PARAM_METRICIDS %>" valueBinding="metricIds"/> <uix:formValue name="<%= BaselineConstants.PARAM_TRENDSTYLE %>" value="<%= BaselineConstants.TRENDSTYLE_RAW %>"/> <uix:formValue name="<%= BaselineConstants.PARAM_MEDIAN %>" value="0.5"/> <uix:formValue name="<%= BaselineConstants.PARAM_99PCTILE %>" value="<%= BSLNConstants.SIGLVL_99 %>"/> <uix:tableLayout width="<%= _COL_1_WIDTH+_COL_2_WIDTH %>"> <uix:rowLayout> <uix:cellFormat vAlign="top" width="<%= _COL_1_WIDTH %>"> <uix:stackLayout> <uix:header textBinding="HEADER_FINDSIGNALS@msgs"> <uix:styledText textBinding="INSTR_METRICSIGNALS_STEP1@msgs" styleClass="OraPromptText"/> <uix:labeledFieldLayout labelWidth="125" fieldWidth="100%" width="100%"> <uix:contents> <uix:messageDateField promptBinding="ATTRNAME_PROBLEMTIME@msgs" name="<%= BaselineConstants.PARAM_DATE %>" valueBinding="date" shortDescBinding="LABEL_METRICSIGNALS_STEP1@msgs" tipBinding="exampleDate"> <uix:end> <uix:flowLayout> <uix:choice name="<%= BaselineConstants.PARAM_HOUR %>" selectedValueBinding="hour" shortDescBinding="HOURS@sdkMsgs"> <uix:option text="12" value="0"/> <uix:option text="1"/> <uix:option text="2"/> <uix:option text="3"/> <uix:option text="4"/> <uix:option text="5"/> <uix:option text="6"/> <uix:option text="7"/> <uix:option text="8"/> <uix:option text="9"/> <uix:option text="10"/> <uix:option text="11"/> </uix:choice> <uix:spacer width="2" height="1"/> <uix:choice name="<%= BaselineConstants.PARAM_MINUTE %>" selectedValueBinding="minute" shortDescBinding="MINUTES@sdkMsgs"> <uix:option text="00" value="0"/> <uix:option text="15"/> <uix:option text="30"/> <uix:option text="45"/> </uix:choice> <uix:spacer width="2" height="1"/> <uix:radioButton name="<%= BaselineConstants.PARAM_AMPM %>" textBinding="AM_LABEL@sdkMsgs" value="<%= Calendar.AM %>" selectedValueBinding="amPm"/> <uix:radioButton name="<%= BaselineConstants.PARAM_AMPM %>" textBinding="PM_LABEL@sdkMsgs" value="<%= Calendar.PM %>" selectedValueBinding="amPm"/> </uix:flowLayout> </uix:end> </uix:messageDateField> <uix:messageChoice promptBinding="ATTRNAME_AWRBASELINE@msgs" name="<%= BaselineConstants.PARAM_BASELINE %>" selectedValue="<%= pageBean.getCurrentBaseline().getGuid() %>" shortDescBinding="ATTRNAME_AWRBASELINE@msgs"> <uix:contents childDataBinding="baselines"> <uix:option textBinding="baselineName" valueBinding="guid"/> </uix:contents> </uix:messageChoice> <uix:spacer width="1" height="1"/> <uix:flowLayout> <uix:submitButton textBinding="GO@sdkMsgs" disabledBinding="noStatisticsAvailable" event="<%= BaselineConstants.EVENT_FINDSIGNALS %>"/> <uix:spacer width="3" height="1"/> <uix:styledText textBinding="CHOICE_ADVANCED@msgs" styleClass="OraPromptText" destinationBinding="toggleModeURL"/> </uix:flowLayout> </uix:contents> </uix:labeledFieldLayout> </uix:header> </uix:stackLayout> </uix:cellFormat> <uix:spacer width="<%= _COL_HGAP %>" height="1"/> <uix:cellFormat vAlign="top" width="<%= _COL_2_WIDTH %>"> <uix:spacer width="1" height="16"/> <uix:contentContainer textBinding="HEADER_OVERVIEW@msgs" width="100%"> <uix:tableLayout> <uix:rowLayout> <uix:styledText styleClass="OraPromptText" textBinding="DESC_METRICSIGNALS_OVERVIEW1@msgs"/> </uix:rowLayout> <uix:rowLayout><uix:spacer width="1" height="15"/></uix:rowLayout> <uix:rowLayout> <uix:styledText styleClass="OraPromptText" textBinding="DESC_METRICSIGNALS_OVERVIEW2@msgs"/> </uix:rowLayout> </uix:tableLayout> </uix:contentContainer> </uix:cellFormat> </uix:rowLayout> <uix:separator/> <uix:rowLayout> <uix:tip> <uix:styledText textBinding="TIP_CLICKING_CHART@msgs"/> </uix:tip> </uix:rowLayout> </uix:tableLayout> <% DataObjectList trendDisplays = pageBean.getMetricTrendDisplays(); int trendC = trendDisplays.getLength(); int trendI = 0; int strongC = 0; int moderateC = 0; for (trendI = 0; trendI < trendC; trendI++) { DataObject trendDisplay = trendDisplays.getItem(trendI); final String[] attributes = new String[] { "chartTitle", "chartData", "chartThresholdsDest" }; Object corr = trendDisplay.selectValue(null, MetricAnalysisPage.ATTRNAME_CHARTCORR); if (MetricAnalysisPage.ATTRVAL_STRONG.equals(corr)) { strongC++; } else if (MetricAnalysisPage.ATTRVAL_MODERATE.equals(corr)) { moderateC++; } for (int attrI = 0; attrI < attributes.length; attrI++) { request.setAttribute(attributes[attrI]+corr+trendI, trendDisplay.selectValue(null, attributes[attrI])); } } %> <uix:tableLayout width="<%= _COL_1_WIDTH+_COL_2_WIDTH %>"> <uix:rowLayout> <uix:cellFormat width="<%= _COL_1_WIDTH %>"> <uix:switcher childNameBinding="hasMetrics"> <!-- Display metrics --> <uix:case name="true"> <uix:stackLayout> <uix:contents> <uix:header textBinding="HEADER_STRONGSIGNALS@msgs"> <% if (strongC > 0) { %> <% for (int strongI = 0; strongI < strongC; strongI++) { %> <uix:header textBinding='<%= "chartTitle"+MetricAnalysisPage.ATTRVAL_STRONG+strongI+"@servletRequest" %>' size="2"> <uix:rowLayout> <oem:chart titleBinding='<%= "chartTitle"+MetricAnalysisPage.ATTRVAL_STRONG+strongI+"@servletRequest" %>' titleVisible="<%= EmChartConstants.CHART_ATTRIBUTE_FALSE %>" chartType="<%= EmChartConstants.CHARTTYPE_TIMESERIES %>" colorPaletteBinding="rawdataColors" width="<%= _COL_1_WIDTH-55 %>" height="150" orientation="<%= EmChartConstants.CHARTORIENT_VERTICAL %>" legendVisible="<%= EmChartConstants.CHART_ATTRIBUTE_FALSE %>" destinationBinding='<%= "chartThresholdsDest"+MetricAnalysisPage.ATTRVAL_STRONG+strongI+"@servletRequest" %>' xAxisMin="0" yAxisWidth="75"> <uix:contents> <oem:boundChartDataSource chartDataSourceBinding='<%= "chartData"+MetricAnalysisPage.ATTRVAL_STRONG+strongI+"@servletRequest" %>' /> <oem:chartColumn isTimeColumn="true" displayLabelBinding="TIME@sdkMsgs" sourceIndex="0"/> <oem:chartColumn displayLabelBinding="CHARTCOLUMN_RAWMETRICDATA@msgs" sourceIndex="1"/> <oem:chartColumn displayLabelBinding="CHARTCOLUMN_BASELINEMEDIAN@msgs" sourceIndex="2"/> <oem:chartColumn displayLabelBinding="CHARTCOLUMN_BASELINE99PCTILE@msgs" sourceIndex="3"/> <oem:chartColumn displayLabelBinding="CHARTCOLUMN_BASELINE999PCTILE@msgs" sourceIndex="4"/> <oem:chartColumn displayLabelBinding="CHARTCOLUMN_BASELINE9999PCTILE@msgs" sourceIndex="5"/> <oem:chartColumn displayLabelBinding="CHARTCOLUMN_BASELINEMAXIMUM@msgs" sourceIndex="6"/> </uix:contents> </oem:chart> <uix:cellFormat vAlign="top"> <uix:spacer width="16" height="16"/> </uix:cellFormat> </uix:rowLayout> </uix:header> <% } %> <% } else { %> <uix:styledText textBinding="MESSAGE_NOSTRONGSIGNALS@msgs" styleClass="OraPromptText"/> <% } %> </uix:header> <uix:header textBinding="HEADER_MODERATESIGNALS@msgs"> <% if (moderateC > 0) { %> <% for (int moderateI = strongC; moderateI < trendC; moderateI++) { %> <uix:header textBinding='<%= "chartTitle"+MetricAnalysisPage.ATTRVAL_MODERATE+moderateI+"@servletRequest" %>' size="2"> <uix:rowLayout> <oem:chart titleBinding='<%= "chartTitle"+MetricAnalysisPage.ATTRVAL_MODERATE+moderateI+"@servletRequest" %>' titleVisible="<%= EmChartConstants.CHART_ATTRIBUTE_FALSE %>" chartType="<%= EmChartConstants.CHARTTYPE_TIMESERIES %>" colorPaletteBinding="rawdataColors" width="<%= _COL_1_WIDTH-55 %>" height="150" orientation="<%= EmChartConstants.CHARTORIENT_VERTICAL %>" legendVisible="<%= EmChartConstants.CHART_ATTRIBUTE_FALSE %>" destinationBinding='<%= "chartThresholdsDest"+MetricAnalysisPage.ATTRVAL_MODERATE+moderateI+"@servletRequest" %>' xAxisMin="0" yAxisWidth="75"> <uix:contents> <oem:boundChartDataSource chartDataSourceBinding='<%= "chartData"+MetricAnalysisPage.ATTRVAL_MODERATE+moderateI+"@servletRequest" %>' /> <oem:chartColumn isTimeColumn="true" displayLabelBinding="TIME@sdkMsgs" sourceIndex="0"/> <oem:chartColumn displayLabelBinding="CHARTCOLUMN_RAWMETRICDATA@msgs" sourceIndex="1"/> <oem:chartColumn displayLabelBinding="CHARTCOLUMN_BASELINEMEDIAN@msgs" sourceIndex="2"/> <oem:chartColumn displayLabelBinding="CHARTCOLUMN_BASELINE99PCTILE@msgs" sourceIndex="3"/> <oem:chartColumn displayLabelBinding="CHARTCOLUMN_BASELINE999PCTILE@msgs" sourceIndex="4"/> <oem:chartColumn displayLabelBinding="CHARTCOLUMN_BASELINE9999PCTILE@msgs" sourceIndex="5"/> <oem:chartColumn displayLabelBinding="CHARTCOLUMN_BASELINEMAXIMUM@msgs" sourceIndex="6"/> </uix:contents> </oem:chart> <uix:cellFormat vAlign="top"> <uix:spacer width="16" height="16"/> </uix:cellFormat> </uix:rowLayout> </uix:header> <% } %> <% } else { %> <uix:styledText textBinding="MESSAGE_NOMODERATESIGNALS@msgs" styleClass="OraPromptText"/> <% } %> </uix:header> </uix:contents> </uix:stackLayout> </uix:case> <!-- Display message instead --> <uix:case name="false"> <uix:messageBox renderedBinding="instructionRendered" messageBinding="instructionText" messageType="information"/> </uix:case> </uix:switcher> </uix:cellFormat> <uix:spacer width="<%= _COL_HGAP %>" height="1"/> <!-- Display Legend --> <uix:cellFormat width="<%= _COL_2_WIDTH %>" vAlign="top"> <uix:stackLayout> <uix:spacer width="1" height="12"/> <uix:contentContainer width="<%= _COL_2_WIDTH %>" textBinding="HEADER_TRENDANALYSIS@msgs" renderedBinding="hasMetrics"> <uix:tableLayout> <%-- == Raw Data --%> <uix:rowLayout> <uix:cellFormat rowSpan="3"> <uix:spacer width="12" height="1"/> </uix:cellFormat> <uix:cellFormat wrappingDisabled="true" vAlign="top"> <uix:styledText textBinding="CHARTCOLUMN_RAWMETRICDATA@msgs" styleClass="OraPromptText"/> </uix:cellFormat> <uix:cellFormat rowSpan="3"> <uix:spacer width="5" height="1"/> </uix:cellFormat> <uix:cellFormat> <uix:image source="<%= pageBean.getRawdataColorTable().getColorChip(0) %>" width="12" height="12" shortDescBinding="CHARTCOLUMN_RAWMETRICDATA@msgs"/> </uix:cellFormat> </uix:rowLayout> <%-- == 99th Percentile --%> <uix:rowLayout> <uix:cellFormat wrappingDisabled="true"> <uix:styledText textBinding="CHARTCOLUMN_BASELINE99PCTILE@msgs" styleClass="OraPromptText"/> </uix:cellFormat> <uix:cellFormat> <uix:image source="<%= pageBean.getRawdataColorTable().getColorChip(2) %>" width="12" height="12" shortDescBinding="CHARTCOLUMN_BASELINE99PCTILE@msgs"/> </uix:cellFormat> </uix:rowLayout> <%-- == Median --%> <uix:rowLayout> <uix:cellFormat wrappingDisabled="true"> <uix:styledText textBinding="CHARTCOLUMN_BASELINEMEDIAN@msgs" styleClass="OraPromptText"/> </uix:cellFormat> <uix:cellFormat> <uix:image source="<%= pageBean.getRawdataColorTable().getColorChip(1) %>" width="12" height="12" shortDescBinding="CHARTCOLUMN_BASELINEMEDIAN@msgs"/> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> </uix:contentContainer> </uix:stackLayout> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> </uix:form>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de