Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\database\monitoring\mcAvg.uix
<?xml version = '1.0' encoding = 'UTF-8'?> <page xmlns="http://bali.us.oracle.com/cabo/baja" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:baja="http://bali.us.oracle.com/cabo/baja" xmlns:data="http://bali.us.oracle.com/cabo/marlin" xmlns:marlin="http://bali.us.oracle.com/cabo/marlin"> <handlers> <!-- use this handler to enter this page --> <event name="*"> <method class="oracle.sysman.dbTarget.db.emlOverride.mntr.metrics.MetricColumnDataObject" method="doLoad"/> </event> <!-- handle the sortable column header on table --> <event name="sort"> <method class="oracle.sysman.dbTarget.db.emlOverride.mntr.metrics.MetricColumnDataObject" method="doSort"/> </event> <!-- handle the next/prev button on table --> <event name="goto"> <method class="oracle.sysman.dbTarget.db.emlOverride.mntr.metrics.MetricColumnDataObject" method="doGoto"/> </event> <event name="refreshOpt"> <method class="oracle.sysman.dbTarget.db.emlOverride.mntr.metrics.MetricColumnDataObject" method="goToPage"/> </event> <event name="showDetails"> <method class="oracle.sysman.dbTarget.db.emlOverride.mntr.metrics.MetricColumnDataObject" method="showDetails"/> </event> <event name="clear"> <method class="oracle.sysman.dbTarget.db.emlOverride.mntr.metrics.MetricColumnDataObject" method="clearAlert"/> </event> </handlers> <baja:content xmlns="http://bali.us.oracle.com/cabo/marlin"> <dataScope> <provider> <data name = "pageHeader"> <method class="oracle.sysman.dbTarget.db.emlOverride.mntr.metrics.MetricColumnDataObject" method="getPageHeader"/> </data> <data name="curValueData"> <method class="oracle.sysman.dbTarget.db.emlOverride.mntr.metrics.MetricColumnDataObject" method="getAvgValueData"/> </data> <data name="mntrResourceBundle"> <bundle class="oracle.sysman.resources.MntrResourceBundle"/> </data> <data name="commonResourceBundle"> <bundle class="oracle.sysman.resources.CommonResourceBundle"/> </data> <data name="sdkBundle"> <bundle class="oracle.sysman.emSDK.eml.SDKUIMsg"/> </data> <data name="viewChoice"> <method class="oracle.sysman.dbTarget.db.emlOverride.mntr.metrics.MetricDetailDataObject" method="getViewChoices"/> </data> </provider> <contents> <html:title> <text data:text="pageTitle@pageHeader"/> </html:title> <pageLayout xmlns="http://bali.us.oracle.com/cabo/marlin"> <mediumAdvertisement> <include baja:node="/oemBanner" /> </mediumAdvertisement> <globalButtons> <include baja:node="/globalButtonBar" /> </globalButtons> <marlin:tabs> <include baja:node="/globalTabs" /> </marlin:tabs> <marlin:pageHeader> <include baja:node="/globalHeader" /> </marlin:pageHeader> <marlin:location> <include baja:node="/breadCrumbs" /> </marlin:location> <copyright> <include baja:node="/copyright" /> </copyright> <marlin:contents> <header data:text="metricTitle@curValueData"> <contents> <form name="avgForm" method="POST"> <contents> <tableLayout width="100%"> <contents> <rowLayout hAlign="right"> <contents> <switcher data:childName="showtime@curValueData"> <case name="true"> <flowLayout> <contents> <styledText styleClass="OraTipText" data:text="LATEST_FROM_TARGET@sdkBundle"/> <spacer width="4"/> <styledText styleClass="OraTipLabel" data:text="timestamp@curValueData"/> </contents> </flowLayout> </case> </switcher> </contents> </rowLayout> <rowLayout> <contents> <cellFormat> <contents> <rowLayout hAlign="right"> <contents> <styledText styleClass="OraFieldText" labeledNodeId="viewChoice" data:text="VIEW_DATA@mntrResourceBundle"/> <spacer width="4"/> <choice name="viewChoice" columns="5" id="viewChoice" onChange="submitForm('avgForm', true, {'event':'refreshOpt'})"> <contents marlin:childData="refOption@viewChoice"> <option marlin:text="name" marlin:selected="selected" marlin:value="value"/> </contents> </choice> <formValue name="event" value="refreshOpt" /> </contents> </rowLayout> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> </contents> </form> <borderLayout> <contents> <form name="condition" method="POST"> <contents> <formValue name="showSelection" data:value="showSelection@curValueData"/> <switcher childName="NUMBER" data:childName="metricType@curValueData"> <case name="NUMBER"> <switcher data:childName="condition@curValueData"> <case name="true"> <table name="mcTable" width="95%" data:summary="metricTitle@curValueData" styleClass="OraHeaderSubSub" showAll="yes" formSubmitted="true" data:tableData="row@curValueData" data:columnHeaderData="column@curValueData" data:columnFormats="colFormat@curValueData" data:blockSize="blockSize@curValueData" data:minValue="minValue@curValueData" data:value="value@curValueData" data:maxValue="maxValue@curValueData" data:destination="tableDestination@curValueData" data:alternateText = "NO_DATA@mntrResourceBundle"> <columnHeaderStamp> <sortableHeader data:sortable="sortable" data:text="text"/> </columnHeaderStamp> <tableSelection> <multipleSelection disabled="true" data:disabled="msDisabled" data:selected="msSelected" data:shortDesc="SELECT@commonResourceBundle" rendered="false" data:rendered="showSelection@curValueData"> <contents> <submitButton data:text="CLEAR_ALERT@mntrResourceBundle" name="event" value="clear"/> </contents> </multipleSelection> </tableSelection> <contents> <styledText data:text="transOrKey1" data:destination="transOrKeyDest"/> <styledText data:text="transOrKey2" rendered="false"> <boundAttribute name="rendered"> <if> <comparison type="greaterThanOrEquals"> <dataObject select="numKeys" source="curValueData"/> <fixed javaType="int">2</fixed> </comparison> <fixed javaType="boolean">true</fixed> <fixed javaType="boolean">false</fixed> </if> </boundAttribute> </styledText> <styledText data:text="transOrKey3" rendered="false"> <boundAttribute name="rendered"> <if> <comparison type="greaterThanOrEquals"> <dataObject select="numKeys" source="curValueData"/> <fixed javaType="int">3</fixed> </comparison> <fixed javaType="boolean">true</fixed> <fixed javaType="boolean">false</fixed> </if> </boundAttribute> </styledText> <styledText data:text="transOrKey4" rendered="false"> <boundAttribute name="rendered"> <if> <comparison type="greaterThanOrEquals"> <dataObject select="numKeys" source="curValueData"/> <fixed javaType="int">4</fixed> </comparison> <fixed javaType="boolean">true</fixed> <fixed javaType="boolean">false</fixed> </if> </boundAttribute> </styledText> <styledText data:text="transOrKey5" rendered="false"> <boundAttribute name="rendered"> <if> <comparison type="greaterThanOrEquals"> <dataObject select="numKeys" source="curValueData"/> <fixed javaType="int">5</fixed> </comparison> <fixed javaType="boolean">true</fixed> <fixed javaType="boolean">false</fixed> </if> </boundAttribute> </styledText> <styledText data:text="average"/> <styledText data:text="hiWatermark"/> <styledText data:text="loWatermark"/> <styledText data:text="currentValue"/> <styledText data:text="timeStampDate"/> <styledText data:text="warning"/> <styledText data:text="critical"/> <switcher childName="false" data:childName="hasSeverity"> <case name="true"> <image data:source="severity" data:shortDesc="severityDesc" data:destination="severityDest"/> </case> <case name="false"> <styledText data:text="NOT_APPLICABLE_SHORT@sdkBundle"/> </case> </switcher> <styledText data:text="timestamp"/> <image data:source="imageSource" data:shortDesc="DETAILS@mntrResourceBundle" data:destination="metricDetailDest" rendered="false"> <boundAttribute name="rendered"> <if> <comparison type="greaterThan"> <dataObject select="numKeys" source="curValueData"/> <fixed javaType="int">1</fixed> </comparison> <fixed javaType="boolean">true</fixed> <fixed javaType="boolean">false</fixed> </if> </boundAttribute> </image> <formValue name="severityGuid" data:value="severityGuid"/> </contents> </table> </case> <case name="false"> <table name="mcTable" width="95%" data:summary="metricTitle@curValueData" styleClass="OraHeaderSubSub" showAll="yes" data:tableData="row@curValueData" data:columnHeaderData="column@curValueData" data:columnFormats="colFormat@curValueData" data:blockSize="blockSize@curValueData" data:minValue="minValue@curValueData" data:value="value@curValueData" data:maxValue="maxValue@curValueData" data:destination="tableDestination@curValueData" data:alternateText = "NO_DATA@mntrResourceBundle"> <columnHeaderStamp> <sortableHeader data:sortable="sortable" data:text="text"/> </columnHeaderStamp> <contents> <styledText data:text="transOrKey1" data:destination="transOrKeyDest"/> <styledText data:text="transOrKey2" rendered="false"> <boundAttribute name="rendered"> <if> <comparison type="greaterThanOrEquals"> <dataObject select="numKeys" source="curValueData"/> <fixed javaType="int">2</fixed> </comparison> <fixed javaType="boolean">true</fixed> <fixed javaType="boolean">false</fixed> </if> </boundAttribute> </styledText> <styledText data:text="transOrKey3" rendered="false"> <boundAttribute name="rendered"> <if> <comparison type="greaterThanOrEquals"> <dataObject select="numKeys" source="curValueData"/> <fixed javaType="int">3</fixed> </comparison> <fixed javaType="boolean">true</fixed> <fixed javaType="boolean">false</fixed> </if> </boundAttribute> </styledText> <styledText data:text="transOrKey4" rendered="false"> <boundAttribute name="rendered"> <if> <comparison type="greaterThanOrEquals"> <dataObject select="numKeys" source="curValueData"/> <fixed javaType="int">4</fixed> </comparison> <fixed javaType="boolean">true</fixed> <fixed javaType="boolean">false</fixed> </if> </boundAttribute> </styledText> <styledText data:text="transOrKey5" rendered="false"> <boundAttribute name="rendered"> <if> <comparison type="greaterThanOrEquals"> <dataObject select="numKeys" source="curValueData"/> <fixed javaType="int">5</fixed> </comparison> <fixed javaType="boolean">true</fixed> <fixed javaType="boolean">false</fixed> </if> </boundAttribute> </styledText> <styledText data:text="average"/> <styledText data:text="hiWatermark"/> <styledText data:text="loWatermark"/> <styledText data:text="currentValue"/> <styledText data:text="timeStampDate"/> <image data:source="imageSource" data:shortDesc="DETAILS@mntrResourceBundle" data:destination="metricDetailDest" rendered="false"> <boundAttribute name="rendered"> <if> <comparison type="greaterThan"> <dataObject select="numKeys" source="curValueData"/> <fixed javaType="int">1</fixed> </comparison> <fixed javaType="boolean">true</fixed> <fixed javaType="boolean">false</fixed> </if> </boundAttribute> </image> </contents> </table> </case> <case name="error"> <messageBox data:message="errMsg@curValueData" messageType="error" longDescURL="unimpl" text="An error has occurred!"> </messageBox> </case> </switcher> </case> <case name="STRING"> <switcher data:childName="condition@curValueData"> <case name="true"> <table name="mcTable" width="95%" data:summary="metricTitle@curValueData" styleClass="OraHeaderSubSub" showAll="yes" formSubmitted="true" data:tableData="row@curValueData" data:columnHeaderData="column@curValueData" data:columnFormats="colFormat@curValueData" data:blockSize="blockSize@curValueData" data:minValue="minValue@curValueData" data:value="value@curValueData" data:maxValue="maxValue@curValueData" data:destination="tableDestination@curValueData" data:alternateText = "NO_DATA@mntrResourceBundle"> <columnHeaderStamp> <sortableHeader data:sortable="sortable" data:text="text"/> </columnHeaderStamp> <tableSelection> <multipleSelection disabled="true" data:disabled="msDisabled" data:selected="msSelected" data:shortDesc="SELECT@commonResourceBundle" rendered="false" data:rendered="showSelection@curValueData"> <contents> <submitButton data:text="CLEAR_ALERT@mntrResourceBundle" name="event" value="clear"/> </contents> </multipleSelection> </tableSelection> <contents> <styledText data:text="transOrKey1" data:destination="transOrKeyDest"/> <styledText data:text="transOrKey2" rendered="false"> <boundAttribute name="rendered"> <if> <comparison type="greaterThanOrEquals"> <dataObject select="numKeys" source="curValueData"/> <fixed javaType="int">2</fixed> </comparison> <fixed javaType="boolean">true</fixed> <fixed javaType="boolean">false</fixed> </if> </boundAttribute> </styledText> <styledText data:text="transOrKey3" rendered="false"> <boundAttribute name="rendered"> <if> <comparison type="greaterThanOrEquals"> <dataObject select="numKeys" source="curValueData"/> <fixed javaType="int">3</fixed> </comparison> <fixed javaType="boolean">true</fixed> <fixed javaType="boolean">false</fixed> </if> </boundAttribute> </styledText> <styledText data:text="transOrKey4" rendered="false"> <boundAttribute name="rendered"> <if> <comparison type="greaterThanOrEquals"> <dataObject select="numKeys" source="curValueData"/> <fixed javaType="int">4</fixed> </comparison> <fixed javaType="boolean">true</fixed> <fixed javaType="boolean">false</fixed> </if> </boundAttribute> </styledText> <styledText data:text="transOrKey5" rendered="false"> <boundAttribute name="rendered"> <if> <comparison type="greaterThanOrEquals"> <dataObject select="numKeys" source="curValueData"/> <fixed javaType="int">5</fixed> </comparison> <fixed javaType="boolean">true</fixed> <fixed javaType="boolean">false</fixed> </if> </boundAttribute> </styledText> <styledText data:text="average"/> <styledText data:text="timeStampDate"/> <styledText data:text="warning"/> <styledText data:text="critical"/> <switcher childName="false" data:childName="hasSeverity"> <case name="true"> <image data:source="severity" data:shortDesc="severityDesc" data:destination="severityDest"/> </case> <case name="false"> <styledText data:text="NOT_APPLICABLE_SHORT@sdkBundle"/> </case> </switcher> <styledText data:text="timestamp"/> <image data:source="imageSource" data:shortDesc="DETAILS@mntrResourceBundle" data:destination="metricDetailDest" rendered="false"> <boundAttribute name="rendered"> <if> <comparison type="greaterThan"> <dataObject select="numKeys" source="curValueData"/> <fixed javaType="int">1</fixed> </comparison> <fixed javaType="boolean">true</fixed> <fixed javaType="boolean">false</fixed> </if> </boundAttribute> </image> <formValue name="severityGuid" data:value="severityGuid"/> </contents> </table> </case> <case name="false"> <table name="mcTable" width="95%" data:summary="metricTitle@curValueData" styleClass="OraHeaderSubSub" showAll="yes" data:tableData="row@curValueData" data:columnHeaderData="column@curValueData" data:columnFormats="colFormat@curValueData" data:blockSize="blockSize@curValueData" data:minValue="minValue@curValueData" data:value="value@curValueData" data:maxValue="maxValue@curValueData" data:destination="tableDestination@curValueData" data:alternateText = "NO_DATA@mntrResourceBundle"> <columnHeaderStamp> <sortableHeader data:sortable="sortable" data:text="text"/> </columnHeaderStamp> <contents> <styledText data:text="transOrKey1" data:destination="transOrKeyDest"/> <styledText data:text="transOrKey2" rendered="false"> <boundAttribute name="rendered"> <if> <comparison type="greaterThanOrEquals"> <dataObject select="numKeys" source="curValueData"/> <fixed javaType="int">2</fixed> </comparison> <fixed javaType="boolean">true</fixed> <fixed javaType="boolean">false</fixed> </if> </boundAttribute> </styledText> <styledText data:text="transOrKey3" rendered="false"> <boundAttribute name="rendered"> <if> <comparison type="greaterThanOrEquals"> <dataObject select="numKeys" source="curValueData"/> <fixed javaType="int">3</fixed> </comparison> <fixed javaType="boolean">true</fixed> <fixed javaType="boolean">false</fixed> </if> </boundAttribute> </styledText> <styledText data:text="transOrKey4" rendered="false"> <boundAttribute name="rendered"> <if> <comparison type="greaterThanOrEquals"> <dataObject select="numKeys" source="curValueData"/> <fixed javaType="int">4</fixed> </comparison> <fixed javaType="boolean">true</fixed> <fixed javaType="boolean">false</fixed> </if> </boundAttribute> </styledText> <styledText data:text="transOrKey5" rendered="false"> <boundAttribute name="rendered"> <if> <comparison type="greaterThanOrEquals"> <dataObject select="numKeys" source="curValueData"/> <fixed javaType="int">5</fixed> </comparison> <fixed javaType="boolean">true</fixed> <fixed javaType="boolean">false</fixed> </if> </boundAttribute> </styledText> <styledText data:text="average"/> <styledText data:text="timeStampDate"/> <image data:source="imageSource" data:shortDesc="DETAILS@mntrResourceBundle" data:destination="metricDetailDest" rendered="false"> <boundAttribute name="rendered"> <if> <comparison type="greaterThan"> <dataObject select="numKeys" source="curValueData"/> <fixed javaType="int">1</fixed> </comparison> <fixed javaType="boolean">true</fixed> <fixed javaType="boolean">false</fixed> </if> </boundAttribute> </image> </contents> </table> </case> <case name="error"> <messageBox data:message="errMsg@curValueData" messageType="error" longDescURL="unimpl" text="An error has occurred!"> </messageBox> </case> </switcher> </case> </switcher> </contents> </form> </contents> </borderLayout> <!-- related links --> <stackLayout> <boundAttribute name="rendered"> <if> <comparison type="notEquals"> <dataObject select="condition" source="curValueData"/> <fixed javaType="string">error</fixed> </comparison> <fixed javaType="boolean">true</fixed> <fixed javaType="boolean">false</fixed> </if> </boundAttribute> <contents> <spacer height="10"/> <header data:text="RELATED_LINKS@sdkBundle" data:rendered="showRelatedLinks@curValueData"> <contents> <tableLayout width="100%"> <contents data:childData="relatedLinks@curValueData"> <rowLayout> <contents> <cellFormat width="33%"> <contents> <styledText data:text="text0" data:destination="destination0"/> </contents> </cellFormat> <cellFormat width="33%"> <contents> <styledText data:text="text1" data:destination="destination1"/> </contents> </cellFormat> <cellFormat width="33%"> <contents> <styledText data:text="text2" data:destination="destination2"/> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> </contents> </header> </contents> </stackLayout> </contents> </header> </marlin:contents> </pageLayout> </contents> </dataScope> </baja:content> </page>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de