Edit D:\app\Administrator\product\11.2.0\dbhome_1\j2ee\OC4J_EM\applications\em\em\monitoring\em2go\availOverview.uix
<?xml version = '1.0' encoding = 'UTF-8'?> <page xmlns="http://bali.us.oracle.com/cabo/baja" xmlns:baja="http://bali.us.oracle.com/cabo/baja" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:data="http://bali.us.oracle.com/cabo/marlin" xmlns:chart="http://emchart.us.oracle.com/ui" xmlns:marlin="http://bali.us.oracle.com/cabo/marlin" > <baja:content xmlns="http://bali.us.oracle.com/cabo/marlin"> <dataScope> <contents> <html:title> <text data:text="title@availHeaderData" /> </html:title> <form name="availOverviewForm" method="POST"> <contents> <include baja:node="../../em2go/em2goGlobalBanner"/> <include baja:node="../../em2go/em2goBreadCrumbs" /> <messageBox data:message="ADD_COMMENT_SUC2@mntrResourceBundle" messageType="confirmation" rendered="false" data:rendered="showSaveCommentSuccessful@addComment"/> <tableLayout cellSpacing="10" width="100%"> <contents> <rowLayout rendered="false" data:rendered="exceptionOccurred@availData" vAlign="top"> <contents> <cellFormat vAlign="top"> <contents> <messageBox messageType="error" longDescURL="unimpl" data:message="errMsg@availData" data:text="ERROR_OCCURRED_MSG@mntrResourceBundle"> </messageBox> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> <stackLayout> <boundAttribute name="rendered"> <not> <dataObject select="exceptionOccurred" source="availData"/> </not> </boundAttribute> <contents> <header data:text="header@availHeaderData"> <contents> <styledText styleClass="OraHeaderSubSub" data:text="header@availHeaderData"/> <!-- >>>>>>>>>> DROPDOWN REFRESH OPTION >>>>>>>>>>>>>> --> <tableLayout width="100%"> <contents> <rowLayout hAlign="right"> <contents> <switcher data:childName="showtime@timeData"> <case name="true"> <flowLayout> <contents> <styledText styleClass="OraInlineInfoText" data:text="LATEST_FROM_TARGET@sdkBundle"/> <styledText styleClass="OraInlineInfoText" data:text="timestamp@timeData" /> </contents> </flowLayout> </case> </switcher> </contents> </rowLayout> <rowLayout> <contents> <cellFormat> <contents> <rowLayout hAlign="right"> <contents> <styledText styleClass="OraFieldText" labeledNodeId="refOptionChoice" data:text="VIEW_DATA@mntrResourceBundle"/> <spacer width="4"/> <choice name="refOptionChoice" columns="5" id="refOptionChoice" onChange="submitForm('availOverviewForm',true,{'event':'refToOpt'})"> <contents marlin:childData="refOption@refOptionList"> <option marlin:text="name" marlin:selected="selected" marlin:value="value"/> </contents> </choice> <submitButton name="event" data:text="GO@commonResourceBundle" value="refToOpt"/> </contents> </rowLayout> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> <!-- <<<<<<<<<<<<<<<<< end of dropdown reresh option <<<<<<<<<<<< --> <tableLayout cellSpacing="2" width="100%"> <contents> <rowLayout vAlign="top" width="100%"> <contents> <cellFormat vAlign="top" width="100%"> <contents> <!-- *** THE TABLE FORMAT FOR SHOWING THE TEXT --> <header data:text="GENERAL@commonResourceBundle"> <contents> <styledText styleClass="OraHeaderSubSub" data:text="GENERAL@COMMONRESOURCEBUNDLE"/> <tableLayout> <contents> <!-- CURRENT STATUS --> <rowLayout vAlign="top" > <contents> <cellFormat hAlign="right"> <contents> <styledText styleClass="OraPromptText" data:text="CURRENT_STATUS@mntrResourceBundle" /> </contents> </cellFormat> <spacer width="10"/> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraDataText" data:text="curStatus@availData"/> </contents> </cellFormat> </contents> </rowLayout> <!-- <STATUS> Since --> <rowLayout vAlign="top" > <contents> <cellFormat hAlign="right"> <contents> <styledText styleClass="OraPromptText" data:text="sinceText@availData" /> </contents> </cellFormat> <spacer width="10"/> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraDataText" data:text="sinceTime@availData"/> </contents> </cellFormat> </contents> </rowLayout> <!-- CALCULATED AVAILABILITY --> <rowLayout vAlign="top" > <contents> <cellFormat hAlign="right"> <contents> <styledText styleClass="OraPromptText" data:text="AVAILABILITY_PERCENT@mntrResourceBundle" /> </contents> </cellFormat> <spacer width="10"/> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraDataText" data:text="availPct@availData"/> </contents> </cellFormat> </contents> </rowLayout> <!-- TOTAL DOWN --> <rowLayout data:rendered="showDownTime@availData" vAlign="top" > <contents> <cellFormat hAlign="right"> <contents> <styledText styleClass="OraPromptText" data:text="TOTAL_DOWN_TIME@mntrResourceBundle"/> </contents> </cellFormat> <spacer width="10"/> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraDataText" data:text="totDownTime@availData" /> </contents> </cellFormat> </contents> </rowLayout> <!-- SCH DOWN --> <rowLayout data:rendered="showBlackoutTime@availData" vAlign="top" > <contents> <cellFormat hAlign="right"> <contents> <styledText styleClass="OraPromptText" data:text="TOTAL_BLACKOUT_TIME@mntrResourceBundle"/> </contents> </cellFormat> <spacer width="10"/> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraDataText" data:text="schDownTime@availData" /> </contents> </cellFormat> </contents> </rowLayout> <!-- UNMONITORED --> <rowLayout data:rendered="showUnmonitoredTime@availData" vAlign="top" > <contents> <cellFormat hAlign="right"> <contents> <styledText styleClass="OraPromptText" data:text="TOTAL_AGENT_DOWN_TIME@mntrResourceBundle"/> </contents> </cellFormat> <spacer width="10"/> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraDataText" data:text="totUnmonTime@availData" /> </contents> </cellFormat> </contents> </rowLayout> <!-- TOTAL ERROR --> <rowLayout data:rendered="showErrorTime@availData" vAlign="top" > <contents> <cellFormat hAlign="right"> <contents> <styledText styleClass="OraPromptText" data:text="TOTAL_METRIC_ERROR_TIME@mntrResourceBundle"/> </contents> </cellFormat> <spacer width="10"/> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraDataText" data:text="totErrorTime@availData" /> </contents> </cellFormat> </contents> </rowLayout> <!-- TOTAL UNKNOWN --> <rowLayout data:rendered="showUnknownTime@availData" vAlign="top" > <contents> <cellFormat hAlign="right"> <contents> <styledText styleClass="OraPromptText" data:text="TOTAL_STATUS_PENDING_TIME@mntrResourceBundle"/> </contents> </cellFormat> <spacer width="10"/> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraDataText" data:text="totUnknownTime@availData" /> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> <tableLayout> <contents> <!-- VERTICAL SPACE --> <rowLayout vAlign="top" > <contents> <cellFormat hAlign="right"> <contents> <styledText text=" "/> <spacer width="10" /> </contents> </cellFormat> </contents> </rowLayout> <!-- AVAIL PCT FORMULA MSG --> <rowLayout> <contents> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraInlineInfoText" data:text="availPctMsg@availData"/> <spacer width="10" /> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> </contents> </header> <!-- *** END OF TABLE FORMAT --> </contents> </cellFormat> <!-- *** THE OVERALL AVAILABILITY PART --> <!-- <cellFormat vAlign="top" width="65%"> <contents> <header data:text="OVERALL_AVAIL_MSG@mntrResourceBundle"> <contents> <switcher data:childName="showGraphData@availData"> <case name="true"> <stackLayout> <contents> --> <!-- PIE CHART <chart:emChart data:title="header@availHeaderData" titleVisible="false" chartType="pieChart" width="480" height="175" pieValuesInLegend="percent" showSlicePercentLabels="false" data:pieSliceColors="pieSliceColors@availData" hideZeroSlices="false" legendWidthFraction="0.75" data:shortDesc="header@availHeaderData"> <contents> <chart:boundChartDataSource data:chartDataSource="chartDataSource@availData"/> <chart:chartColumn isKey="true" displayLabel="" sourceIndex="0"/> <chart:chartColumn displayLabel="" sourceIndex="1"/> </contents> </chart:emChart> --> <!-- TIME LINE --> <!-- <labeledFieldLayout labelWidth="0%" fieldWidth="100%" width="100%"> <contents data:childData="row@availData"> <stackLayout> <contents> <spacer height="1"/> <styledText data:text="displayName" data:destination="destination"/> </contents> </stackLayout> <stackLayout> <contents> <spacer height="1"/> <rowLayout> <contents> <rowLayout> <contents data:childData="imageRow"> <image data:source="imageSource" data:width="imageWidth" data:height="imageHeight"/> </contents> </rowLayout> <rowLayout> <contents> <spacer width="10"/> <styledText data:text="availPct" styleClass="OraDataText"/> </contents> </rowLayout> </contents> </rowLayout> </contents> </stackLayout> </contents> </labeledFieldLayout> <spacer height="1"/> --> <!-- MARKER ROW --> <!-- <labeledFieldLayout labelWidth="0%" fieldWidth="100%" width="100%"> <contents data:childData="markRow@availData"> <spacer height="1"/> <rowLayout> <contents> <rowLayout> <contents data:childData="imageRow"> <image data:source="imageSource" data:width="imageWidth" data:height="imageHeight"/> </contents> </rowLayout> <spacer width="10"/> </contents> </rowLayout> </contents> </labeledFieldLayout> --> <!-- START TIME AND END TIME ROW --> <!-- <labeledFieldLayout labelWidth="0%" fieldWidth="100%" width="100%"> <contents> <stackLayout> <contents> </contents> </stackLayout> <stackLayout> <contents> <tableLayout width="480"> <contents> <rowLayout> <contents> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraInlineInfoText" data:text="startTimeStamp@availData"/> </contents> </cellFormat> <cellFormat hAlign="right"> <contents> <styledText styleClass="OraInlineInfoText" data:text="endTimeStamp@availData"/> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> </contents> </stackLayout> </contents> </labeledFieldLayout> <spacer height="10"/> --> <!-- TARGET NOT MONITORED MSG --> <!-- <labeledFieldLayout labelWidth="0%" fieldWidth="100%" width="100%" data:rendered="showTgtNotMonMsg@availData"> <contents> <stackLayout> <contents> </contents> </stackLayout> <stackLayout> <contents> <tableLayout width="480"> <contents> <rowLayout> <contents> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraInlineInfoText" data:text="tgtNotMonMsg@availData"/> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> </contents> </stackLayout> </contents> </labeledFieldLayout> --> <!-- TARGET AVAIL UNDERTERMINED MSG --> <!-- <labeledFieldLayout labelWidth="0%" fieldWidth="100%" width="100%" data:rendered="showTgtAvailUndetMsg@availData"> <contents> <stackLayout> <contents> </contents> </stackLayout> <stackLayout> <contents> <tableLayout width="480"> <contents> <rowLayout> <contents> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraInlineInfoText" data:text="tgtAvailUndetMsg@availData"/> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> </contents> </stackLayout> </contents> </labeledFieldLayout> --> <!-- TARGET STATES NOT APPEAR MSG --> <!-- <labeledFieldLayout labelWidth="0%" fieldWidth="100%" width="100%" data:rendered="showTgtStatesNotAppearMsg@availData"> <contents> <stackLayout> <contents> </contents> </stackLayout> <stackLayout> <contents> <tableLayout width="480"> <contents> <rowLayout> <contents> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraInlineInfoText" data:text="tgtStatesNotAppearMsg@availData"/> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> </contents> </stackLayout> </contents> </labeledFieldLayout> --> <!-- </contents> </stackLayout> </case> <case name="false"> <stackLayout> <contents> <styledText styleClass="OraInlineInfoText" data:text="DATA_NOT_AVAILABLE@mntrResourceBundle"/> </contents> </stackLayout> </case> </switcher> </contents> </header> </contents> </cellFormat> --> </contents> </rowLayout> </contents> </tableLayout> <!-- DOWNTIME DETAILS DATA --> <stackLayout> <contents> <header data:text="historyTableLabel@availData"> <contents> <styledText styleClass="OraHeaderSubSub" data:text="historyTableLabel@availData"/> <tableLayout> <contents> <rowLayout><contents> <cellFormat><contents> <rowLayout><contents> <styledText styleClass="OraFieldText" labeledNodeId="viewChoice" data:text="VIEW@commonResourceBundle"/> <spacer width="4"/> <choice name="viewChoice" id="viewChoice" onChange="submitForm('availOverviewForm',true,{'event':'Go'})"> <contents data:childData="refOption@viewOptionList"> <option data:text="name" data:value="value" data:selected="selected"/> </contents> </choice> <submitButton name="event" data:text="GO@commonResourceBundle" value="Go"/> <!-- need this formValue to generate submitForm() function --> <formValue name="event" value="Go"/> </contents></rowLayout> </contents></cellFormat> </contents></rowLayout> </contents> </tableLayout> <switcher data:childName="viewType@availData"> <case name="outageDetails"> <switcher data:childName="hasOutageData@availData"> <case name="rows"> <stackLayout> <contents> <link data:name="anchor@detailData"/> <spacer height="10"/> <table data:blockSize="blockSize@availData" data:columnFormats="column@columnFormats" data:columnHeaderData="column@availData" data:destination="tableDestination@availData" data:maxValue="maxValue@availData" data:minValue="minValue@availData" data:tableData="outageList@availData" data:value="value@availData" width="100%"> <tableFormat tableBanding="rowBanding"/> <columnHeaderStamp> <sortableHeader data:sortable="sortable" data:text="text"/> </columnHeaderStamp> <contents> <styledText data:text="outageStartTime"/> <styledText data:text="outageEndTime"/> <styledText data:text="outageDuration"/> <styledText data:text="outageType"/> </contents> </table> </contents> </stackLayout> </case> <case name="noRows"> <stackLayout> <contents> <spacer height="5"/> <rowLayout> <contents> <styledText data:text="NO_DOWNTIME_DETAILS_DATA@mntrResourceBundle" styleClass="OraInstructionText"/> </contents> </rowLayout> </contents> </stackLayout> </case> </switcher> </case> <case name="availStatus"> <switcher data:childName="availSevs@availData"> <case name="rows"> <stackLayout> <contents> <tableLayout rendered="false" data:rendered="showCommentInput@availData"><contents> <!-- <rowLayout><contents> <messageTextInput data:anchor="addCommentAnchor@addComment" columns="10" data:message="addCommentInlineMsg@addComment" data:messageType="addCommentMsgType@addComment" name="commentInput" data:prompt="COMMENT_MOST_RECENT_ALERT@mntrResourceBundle" rows="1" disabled="false" data:disabled="disableCommentInput@availData"/> <spacer width="1"/> <submitButton name="event" data:text="ADD_COMMENT@mntrResourceBundle" value="Apply" disabled="false" data:disabled="disableCommentInput@availData"/> <formValue name="severityGuid" data:value="severityGuid@availData"/> </contents></rowLayout> --> </contents></tableLayout> <link data:name="anchor@detailData"/> <table data:alternateText="NO_ALERTS_ALT@mntrResourceBundle" data:blockSize="blockSize@availData" data:columnFormats="column@columnFormat" data:columnHeaderData="column@availData" data:destination="tableDestination@availData" data:maxValue="maxValue@availData" data:minValue="minValue@availData" data:tableData="availSevsList@availData" data:value="value@availData" width="100%"> <tableFormat tableBanding="rowBanding"/> <columnHeaderStamp> <sortableHeader data:sortable="sortable" data:text="text"/> </columnHeaderStamp> <contents> <image data:source="severity" data:shortDesc="severityDesc"/> <styledText data:text="timestamp"/> <styledText data:text="userName" rendered="false"/> <styledText data:text="message" data:destination="messageDest"/> <switcher childName="false" data:childName="showIcon"> <case name="true"> <image data:source="imageSource" data:destination="detailDest" data:shortDesc="DETAILS@mntrResourceBundle"/> </case> <case name="false"> <styledText text="-"/> </case> </switcher> </contents> </table> <stackLayout rendered="false" data:rendered="showDetails@availData"> <contents> <tip> <contents> <styledText data:text="ALERT_TABLE_TIP@mntrResourceBundle"/> </contents> </tip> <tip rendered="false" data:rendered="showAlertTableAgentTip@availData"> <contents> <styledText data:text="ALERT_TABLE_AGENT_TIP@mntrResourceBundle"/> </contents> </tip> </contents> </stackLayout> </contents> </stackLayout> </case> <case name="noRows"> <stackLayout> <contents> <spacer height="5"/> <rowLayout> <contents> <styledText data:text="NO_AVAIL_STATUS_DATA@mntrResourceBundle" styleClass="OraInstructionText"/> </contents> </rowLayout> </contents> </stackLayout> </case> </switcher> </case> </switcher> </contents> </header> </contents> </stackLayout> <!-- related links --> <header data:text="RELATED_LINKS@sdkBundle" data:rendered="showRelatedLinks@availData"> <contents> <tableLayout width="100%"> <contents data:childData="relatedLinks@availData"> <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> </header> </contents> </stackLayout> <include baja:node="../../em2go/em2goGlobalFooter"/> </contents> </form> </contents> <provider> <!-- Used for dropdown refresh option --> <data name="timeData"> <method class="oracle.sysman.eml.mntr.util.CommonDataObject" method="getLastRollupTime"/> </data> <!-- Used for dropdown refresh option --> <data name="refOptionList"> <method class="oracle.sysman.eml.mntr.metrics.AvailabilityDataObject" method="getRefreshOptionList"/> </data> <data name="viewOptionList"> <method class="oracle.sysman.eml.mntr.metrics.AvailabilityDataObject" method="getViewOptionList"/> </data> <data name="commonResourceBundle"> <bundle class="oracle.sysman.resources.CommonResourceBundle"/> </data> <data name="mntrResourceBundle"> <bundle class="oracle.sysman.resources.MntrResourceBundle"/> </data> <data name="sdkBundle"> <bundle class="oracle.sysman.emSDK.eml.SDKUIMsg"/> </data> <data name="availData"> <method class="oracle.sysman.eml.mntr.metrics.AvailabilityDataObject" method="getAvailOverviewData"/> </data> <data name="availHeaderData"> <method class="oracle.sysman.eml.mntr.metrics.AvailabilityDataObject" method="getAvailHeaderData"/> </data> <data name="addComment"> <method class="oracle.sysman.eml.mntr.metrics.MetricDetailDataObject" method="getAddCommentData"/> </data> <data name="columnFormats"> <inline> <column columnDataFormat="textFormat"/> <column columnDataFormat="textFormat"/> <column columnDataFormat="numberFormat"/> <column columnDataFormat="textFormat"/> </inline> </data> <data name="columnFormat"> <inline> <column columnDataFormat="iconButtonFormat" width="5%"/> <column columnDataFormat="textFormat" width="20%"/> <column columnDataFormat="textFormat" width="15%"/> <column columnDataFormat="textFormat"/> <column columnDataFormat="iconButtonFormat" width="5%"/> </inline> </data> </provider> </dataScope> </baja:content> <handlers> <!-- use this handler to enter this page --> <event name="*"> <method class="oracle.sysman.eml.mntr.metrics.AvailabilityDataObject" method="doLoad"/> </event> <!-- Used for dropdown refresh option --> <event name="refToOpt"> <method class="oracle.sysman.eml.mntr.metrics.AvailabilityDataObject" method="doRefreshToOption"/> </event> <event name="sort"> <method class="oracle.sysman.eml.mntr.metrics.AvailabilityDataObject" method="doSort"/> </event> <event name="goto"> <method class="oracle.sysman.eml.mntr.metrics.AvailabilityDataObject" method="doGoto"/> </event> <event name="Apply"> <method class="oracle.sysman.eml.mntr.metrics.AvailabilityDataObject" method="updateComment"/> </event> <event name="Go"> <method class="oracle.sysman.eml.mntr.metrics.AvailabilityDataObject" method="updateViewChoice"/> </event> </handlers> </page>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de