Edit D:\app\Administrator\product\11.2.0\dbhome_1\j2ee\OC4J_EM\applications\em\em\monitoring\availability.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: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.AvailabilityDataObject" method="doLoad"/> </event> <!-- Used for dropdown refresh option --> <event name="refToOpt"> <method class="oracle.sysman.eml.mntr.metrics.AvailabilityDataObject" method="doRefreshToOption"/> </event> </handlers> <baja:content xmlns="http://bali.us.oracle.com/cabo/marlin"> <dataScope> <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="mntrResourceBundle"> <bundle class="oracle.sysman.resources.MntrResourceBundle"/> </data> <data name="availData"> <method class="oracle.sysman.eml.mntr.metrics.AvailabilityDataObject" method="getAvailData"/> </data> <data name="availHeaderData"> <method class="oracle.sysman.eml.mntr.metrics.AvailabilityDataObject" method="getAvailHeaderData"/> </data> <data name="columnHeaderData"> <inline> <column text="Start Time"/> <column text="End Time"/> <column text="Duration (minutes) "/> <column text="Comment"/> </inline> </data> <data name="unschcolumnHeaderData"> <inline> <column text="Start Time"/> <column text="End Time"/> <column text="Duration (minutes) "/> <column text="Outage Type"/> <column text="Comment"/> </inline> </data> </provider> <contents> <html:title> <text data:text="title@availHeaderData" /> </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> <stackLayout> <contents> <!-- >>>>>>>>>> DROPDOWN REFRESH OPTION >>>>>>>>>>>>>> --> <form name="refOptionForm" method="POST" > <contents> <tableLayout width="100%"> <contents> <rowLayout> <contents> <cellFormat> <contents> <rowLayout hAlign="right"> <contents> <switcher data:childName="showtime@timeData"> <case name="true"> <flowLayout> <contents> <styledText styleClass="OraInlineInfoText" data:text="LAST_UPDATED@mntrResourceBundle"/> <spacer width="5"/> <styledText styleClass="OraInlineInfoText" data:text="timestamp@timeData" /> </contents> </flowLayout> </case> </switcher> <spacer width="15"/> <choice name="refOptionChoice" columns="5"> <contents marlin:childData="refOption@refOptionList"> <option marlin:text="name" marlin:selected="selected" marlin:value="value"/> </contents> </choice> <spacer width="10"/> <submitButton text="Refresh" name="event" value="refToOpt" /> </contents> </rowLayout> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> </contents> </form> <!-- <<<<<<<<<<<<<<<<< end of dropdown reresh option <<<<<<<<<<<< --> <header data:text="header@availHeaderData"> <contents> <styledText styleClass="OraPromptText" data:text="AVAILABILITY_FORMULA@mntrResourceBundle"/> <rowLayout width="100%"> <contents> <cellFormat vAlign="middle" width="50%"> <contents> <!-- *** THE TABLE FORMAT FOR SHOWING THE TEXT --> <tableLayout > <contents> <!-- CURRENT STATUS --> <rowLayout vAlign="top" > <contents> <cellFormat hAlign="right"> <contents> <styledText styleClass="OraPromptText" data:text="CURRENT_STATUS@mntrResourceBundle" /> <spacer width="10" /> </contents> </cellFormat> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraDataText" data:text="curStatus@availData"/> </contents> </cellFormat> </contents> </rowLayout> <!-- UP_TIME --> <rowLayout vAlign="top" > <contents> <cellFormat hAlign="right"> <contents> <styledText styleClass="OraPromptText" data:text="AVAILABILITY_PERCENT@mntrResourceBundle" /> <spacer width="10" /> </contents> </cellFormat> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraDataText" data:text="availPct@availData"/> </contents> </cellFormat> </contents> </rowLayout> <!-- UP_TIME --> <rowLayout vAlign="top" > <contents> <cellFormat hAlign="right"> <contents> <styledText styleClass="OraPromptText" data:text="TOTAL_UP_TIME@mntrResourceBundle"/> <spacer width="10" /> </contents> </cellFormat> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraDataText" data:text="uptime@availData"/> </contents> </cellFormat> </contents> </rowLayout> <!-- SCH DOWN --> <rowLayout vAlign="top" > <contents> <cellFormat hAlign="right"> <contents> <styledText styleClass="OraPromptText" data:text="TOTAL_BLACKOUT_TIME@mntrResourceBundle"/> <spacer width="10" /> </contents> </cellFormat> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraDataText" data:text="schDownTime@availData" /> </contents> </cellFormat> </contents> </rowLayout> <!-- TOTAL DOWN --> <rowLayout vAlign="top"> <contents> <cellFormat hAlign="right"> <contents> <styledText styleClass="OraPromptText" data:text="TOTAL_DOWN_TIME@mntrResourceBundle"/> <spacer width="10" /> </contents> </cellFormat> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraDataText" data:text="totDownTime@availData" /> </contents> </cellFormat> </contents> </rowLayout> <!-- UNMONITORED --> <rowLayout vAlign="top"> <contents> <cellFormat hAlign="right"> <contents> <styledText styleClass="OraPromptText" data:text="TOTAL_UNMONITORED_TIME@mntrResourceBundle"/> <spacer width="10" /> </contents> </cellFormat> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraDataText" data:text="totUnmonTime@availData" /> </contents> </cellFormat> </contents> </rowLayout> <!-- UNKNOWN --> <rowLayout vAlign="top" > <contents> <cellFormat hAlign="right"> <contents> <styledText styleClass="OraPromptText" data:text="TOTAL_UNKNOWN_TIME@mntrResourceBundle"/> <spacer width="10" /> </contents> </cellFormat> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraDataText" data:text="totUnknwnTime@availData" /> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> <!-- *** END OF TABLE FORMAT --> </contents> </cellFormat> <!-- *** THE IMAGE PART --> <cellFormat vAlign="top" > <contents> <image data:shortDesc="header@availHeaderData" data:source="image@availData"/> </contents> </cellFormat> </contents> </rowLayout> <!-- UNSCHEDULED OUTAGE TABLE --> <switcher data:childName="unSchDownData@availData"> <case name="hasData"> <stackLayout> <contents> <header data:text="UNSCHED_OUTAGE_MSG@mntrResourceBundle"> <contents> <switcher data:childName="unSchedNode@availData"> <case name = "errNode"> <messageBox data:message="unSchedErrMsg@availData" messageType="error" longDescURL="unimpl" text="An error has occurred!"> </messageBox> </case> <case name="okNode"> <switcher data:childName="unSchedTable@availData"> <case name="okTable" > <stackLayout> <contents> <tableLayout > <contents> <!-- UNSCH DOWN --> <rowLayout vAlign="top" > <contents> <cellFormat hAlign="right"> <contents> <styledText styleClass="OraPromptText" data:text="TOTAL_UNAVAILABLE_TIME@mntrResourceBundle"/> <spacer width="10" /> </contents> </cellFormat> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraDataText" data:text="unSchDownTime@availData" /> </contents> </cellFormat> </contents> </rowLayout> <!-- NO TIMES DOWN --> <rowLayout vAlign="top" > <contents> <cellFormat hAlign="right"> <contents> <styledText styleClass="OraPromptText" data:text="NO_OF_TIMES_UNAVAILABLE@mntrResourceBundle"/> <spacer width="10" /> </contents> </cellFormat> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraDataText" data:text="downTimes@availData" /> </contents> </cellFormat> </contents> </rowLayout> <!-- AVG DOWN --> <rowLayout vAlign="top" > <contents> <cellFormat hAlign="right"> <contents> <styledText styleClass="OraPromptText" data:text="AVG_REPAIR_TIME@mntrResourceBundle"/> <spacer width="10" /> </contents> </cellFormat> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraDataText" data:text="avgRepairTime@availData"/> </contents> </cellFormat> </contents> </rowLayout> <!-- LONGEST DOWN TIME--> <rowLayout vAlign="top" > <contents> <cellFormat hAlign="right"> <contents> <styledText styleClass="OraPromptText" data:text="LONGEST_DOWN_TIME@mntrResourceBundle"/> <spacer width="10" /> </contents> </cellFormat> <cellFormat hAlign="left"> <contents> <styledText styleClass="OraDataText" data:text="longestDownTime@availData"/> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout > <spacer height="5"/> <table width="100%" data:tableData="unSchedRow@availData" data:columnHeaderData="column@unschcolumnHeaderData"> <rowHeaderStamp></rowHeaderStamp> <columnHeaderStamp> <boundText select="text"/> </columnHeaderStamp> <contents> <styledText data:text="outageStartTime" /> <styledText data:text="outageEndTime" /> <styledText data:text="downDuration" /> <styledText data:text="downType" /> <styledText data:text="comment" data:destination="commentDest" /> </contents> </table> </contents> </stackLayout> </case> <case name="noTable"> <styledText data:text="unSchedNoTableMsg@availData" /> </case> </switcher> </case> </switcher> </contents> </header> </contents> </stackLayout> </case> </switcher> <!-- SCHEDULED OUTAGE TABLE --> <switcher data:childName="schDownData@availData"> <case name="hasData"> <stackLayout> <contents> <header data:text="SCHED_OUTAGE_MSG@mntrResourceBundle"> <contents> <switcher data:childName="schedNode@availData"> <case name = "errNode"> <messageBox data:message="schedErrMsg@availData" messageType="error" longDescURL="unimpl" text="An error has occurred!"> </messageBox> </case> <case name="okNode"> <switcher data:childName="schedTable@availData"> <case name="okTable" > <table width="100%" data:tableData="schedRow@availData" data:columnHeaderData="column@columnHeaderData"> <rowHeaderStamp></rowHeaderStamp> <columnHeaderStamp> <boundText select="text"/> </columnHeaderStamp> <contents> <styledText data:text="outageStartTime" /> <styledText data:text="outageEndTime" /> <styledText data:text="downDuration" /> <styledText data:text="comment" data:destination="commentDest" /> </contents> </table> </case> <case name="noTable"> <styledText data:text="schedNoTableMsg@availData" /> </case> </switcher> </case> </switcher> </contents> </header> </contents> </stackLayout> </case> </switcher> </contents> </header> </contents> </stackLayout> </marlin:contents> </pageLayout> </contents> </dataScope> </baja:content> </page>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de