Edit D:\app\Administrator\product\11.2.0\dbhome_1\j2ee\OC4J_EM\applications\em\em\monitoring\mcCurrent.uix
<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.eml.mntr.metrics.MetricColumnDataObject" method="doLoad"/> </event> <!-- handle the sortable column header on table --> <event name="sort"> <method class="oracle.sysman.eml.mntr.metrics.MetricColumnDataObject" method="doCurrentSort"/> </event> <!-- handle the next/prev button on table --> <event name="goto"> <method class="oracle.sysman.eml.mntr.metrics.MetricColumnDataObject" method="doGoto"/> </event> <event name="refreshOpt"> <method class="oracle.sysman.eml.mntr.metrics.MetricColumnDataObject" method="goToPage"/> </event> <event name="showDetails"> <method class="oracle.sysman.eml.mntr.metrics.MetricColumnDataObject" method="showDetails"/> </event> <event name="clear"> <method class="oracle.sysman.eml.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.eml.mntr.metrics.MetricColumnDataObject" method="getPageHeader"/> </data> <data name="timeData"> <method class="oracle.sysman.eml.mntr.metrics.MetricColumnDataObject" method="getCurrentTime"/> </data> <data name="curValueData"> <method class="oracle.sysman.eml.mntr.metrics.MetricColumnDataObject" method="getCurrentValueData"/> </data> <data name="mntrResourceBundle"> <bundle class="oracle.sysman.resources.MntrResourceBundle"/> </data> <data name="sdkBundle"> <bundle class="oracle.sysman.emSDK.eml.SDKUIMsg"/> </data> <data name="commonResourceBundle"> <bundle class="oracle.sysman.resources.CommonResourceBundle"/> </data> <data name="viewChoice"> <method class="oracle.sysman.eml.mntr.metrics.MetricColumnDataObject" method="getViewChoices"/> </data> </provider> <contents> <html:title> <data:text> <boundAttribute name="text"> <dataObject select="pageTitle" source="pageHeader"/> </boundAttribute> </data:text> </html:title> <html:noScript> "This page uses JavaScript to perform the list of values lookup. Your browser either does not support JavaScript, or it is disabled. Please enable JavaScript, or upgrade your browser." </html:noScript> <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> <form name="currentForm" method="POST"> <contents> <header data:text="metricTitle@curValueData"> <contents> <tableLayout width="100%"> <contents> <rowLayout hAlign="right"> <contents> <flowLayout> <contents> <styledText styleClass="OraTipText" data:text="PAGE_REFRESHED_TIME@sdkBundle"/> <spacer width="4"/> <styledText styleClass="OraTipLabel" data:text="timestamp@timeData"/> </contents> </flowLayout> </contents> </rowLayout> <rowLayout> <contents> <cellFormat> <contents> <rowLayout hAlign="right"> <contents> <styledText data:text="VIEW_DATA@mntrResourceBundle" styleClass="OraFieldText"/> <spacer width="4"/> <choice name="viewChoice" columns="5" id="viewChoice" data:shortDesc= "VIEW_DATA@mntrResourceBundle" onChange="submitForm('currentForm', 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> <borderLayout> <contents> <formValue name="showSelection" data:value="showSelection@curValueData"/> <switcher data:childName="condition@curValueData"> <case name="true"> <switcher data:childName="metricType@curValueData"> <case name="STRING"> <table name="mcTable" width="95%" data:summary="metricTitle@curValueData" formSubmitted="true" data:tableData="row@curValueData" styleClass="OraHeaderSubSub" showAll="yes" 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" data:value="value"/> </columnHeaderStamp> <tableSelection> <multipleSelection disabled="true" data:disabled="msDisabled" data:selected="msSelected" 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="current"/> <styledText data:text="warning"/> <styledText data:text="critical"/> <switcher childName="false" data:childName="hasSeverity"> <case name="true"> <image data:source="violation" data:destination="vioDest"/> </case> <case name="false"> <styledText data:text="NOT_APPLICABLE_SHORT@sdkBundle" /> </case> </switcher> <styledText data:text="timestamp"/> <image data:source="imageSource" 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="NUMBER"> <table name="mcTable" width="95%" data:tableData="row@curValueData" data:summary="metricTitle@curValueData" styleClass="OraHeaderSubSub" showAll="yes" formSubmitted="true" 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" data:value="value"/> </columnHeaderStamp> <tableSelection> <multipleSelection disabled="true" data:disabled="msDisabled" data:selected="msSelected" 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="current"/> <styledText data:text="warning"/> <styledText data:text="critical"/> <switcher childName="false" data:childName="hasSeverity"> <case name="true"> <image data:source="violation" data:destination="vioDest"/> </case> <case name="false"> <styledText data:text="NOT_APPLICABLE_SHORT@sdkBundle" /> </case> </switcher> <styledText data:text="timestamp"/> <image data:source="imageSource" 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> </switcher> </case> <case name="false"> <table name="mcTable" width="95%" data:tableData="row@curValueData" data:summary="metricTitle@curValueData" styleClass="OraHeaderSubSub" showAll="yes" 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" data:value="value"/> </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="current"/> <image data:source="imageSource" 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" data:messageType="messageType@curValueData" longDescURL="unimpl" > </messageBox> </case> </switcher> </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> </contents> </form> </marlin:contents> </pageLayout> </contents> </dataScope> </baja:content> </page>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de