Edit D:\app\Administrator\product\11.2.0\dbhome_1\j2ee\OC4J_EM\applications\em\em\admin\rep\emdConfig\emdTargetsMain.uix
<page xmlns="http://bali.us.oracle.com/cabo/baja" xmlns:baja="http://bali.us.oracle.com/cabo/baja" xmlns:uix="http://bali.us.oracle.com/cabo/marlin" xmlns:marlin="http://bali.us.oracle.com/cabo/marlin" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:data="http://bali.us.oracle.com/cabo/marlin"> <baja:head xmlns="http://www.w3.org/TR/REC-html40"> <html:meta http-equiv="Cache-Control" content="max-age=0"/> </baja:head> <baja:content xmlns="http://bali.us.oracle.com/cabo/marlin"> <dataScope> <contents> <html:title> <text data:text="title@emdGeneralData"/> </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> <form name="emdConfigMain" method="POST"> <contents> <pageLayout> <mediumAdvertisement> <include baja:node="../../../oemBanner" /> </mediumAdvertisement> <globalButtons> <include baja:node="../../../globalButtonBar" /> </globalButtons> <tabs> <include baja:node="../../../globalTabs" /> </tabs> <location> <include baja:node="/breadCrumbs"/> </location> <pageHeader> <include baja:node="../header"/> </pageHeader> <copyright> <include baja:node="../../../copyright"/> </copyright> <contents> <!-- pageLayout contents... --> <stackLayout> <contents> <!-- ................... Page Timestamp ................... --> <!-- display err message if ping agent returns error--> <switcher data:childName="pingError@pingMsgData"> <case name="true"> <messageBox data:message="pingErrMsg@uploadMsgData" data:messageType="pingErrMsgType@pingMsgData"> </messageBox> </case> </switcher> <switcher data:childName="uploadClicked@uploadMsgData"> <case name="true"> <messageBox data:message="uploadMsg@uploadMsgData" data:messageType="uploadMsgType@uploadMsgData"> </messageBox> </case> </switcher> <switcher data:childName="page@emdGeneralData" default="okPage"> <case name="errPage"> <messageBox data:message="errMsg@emdGeneralData" messageType="error"> </messageBox> </case> <case name="okPage"> <stackLayout> <contents> <switcher data:childName="updateResult@emdGeneralData"> <case name="updateFailed"> <messageBox data:message="updateFailedMessage@emdGeneralData" messageType="error" /> </case> <case name="updateSucceeded"> <messageBox data:message="updateSucceededMessage@emdGeneralData" messageType="confirmation" /> </case> </switcher> <header data:text="emdHeader@emdGeneralData"> <contents> <tableLayout width="100%"> <contents> <rowLayout> <contents> <cellFormat> <contents> <rowLayout hAlign="right"> <contents> <cellFormat> <contents> <flowLayout> <contents> <styledText styleClass="OraTipText" data:text="LATEST_DATA_COLLECTED_FROM_TARGET@mntrResourceBundle"/> <spacer width="5"/> <styledText styleClass="OraTipLabel" data:text="timestamp@timeData"/> </contents> </flowLayout> </contents> </cellFormat> <spacer width="8"/> <image data:source="refreshIcon@refreshButtonData" data:destination="refreshUrl@refreshButtonData" data:shortDesc="LATEST_DATA_COLLECTED_FROM_TARGET@mntrResourceBundle"/> </contents> </rowLayout> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> <formValue name="emdUrl" data:value="emdUrl@emdTargetsData"/> <include baja:node="emdStats"/> <!-- ................... Emd Targets List ................ --> <header data:text="MAIN_HEAD@emdConfigMsg"> <contents> <stackLayout> <contents> <styledText styleClass="OraInstructionText" data:text="MAIN_HELP@emdConfigMsg"/> <spacer width="20"/> <!-- 3 Cases: errNode - any error retrieving targets from emd okNode & noTable - query returned no rows okNode & okTable - query returned > 1 row --> <switcher data:childName="node@emdTargetsData"> <case name="errNode"> <inlineMessage data:message="errMsg@emdTargetsData" messageType="error"> </inlineMessage> </case> <case name="okNode"> <switcher data:childName="table@emdTargetsData"> <case name="noTable"> <stackLayout> <contents> <inlineMessage data:message="noTableMsg@emdTargetsData" messageType="error"/> <!-- view only table --> <table name="emdTable" data:summary="MAIN_HEAD@emdConfigMsg" formSubmitted="true" width="90%" data:alternateText="NO_TARGETS_FOUND@mntrResourceBundle" data:tableData="row@emdTargetsData" data:value="value@emdTargetsData" data:minValue="minValue@emdTargetsData" data:blockSize="blockSize@emdTargetsData" data:maxValue="maxValue@emdTargetsData" data:destination="tableDestination@emdTargetsData" data:columnHeaderData="column@emdTargetsData"> <columnHeaderStamp> <sortableHeader data:text="text" data:sortable="sortable"/> </columnHeaderStamp> <contents> <column> <contents> <rowLayout> <contents> <styledText styleClass="OraInstructionText" data:text="targetName" data:destination="targetHomeDest" /> </contents> </rowLayout> </contents> </column> <styledText data:text="targetType" /> </contents> </table> </contents> </stackLayout> </case> <case name="okTable" > <stackLayout> <contents> <spacer height="2"/> <switcher data:childName="showAdd@emdTargetsData"> <case name="yes"> <stackLayout> <contents> <rowLayout width="90%"> <contents> <cellFormat width="100%" vAlign="top" hAlign="end"/> <spacer width="10"/> <cellFormat vAlign="middle" hAlign="end"> <contents> <styledText styleClass="OraPromptText" data:text="ADD@commonResourceBundle" labeledNodeId="typeChoice" /> </contents> </cellFormat> <spacer width="5"/> <cellFormat vAlign="middle" hAlign="end"> <contents> <choice name="typeChoice" columns="50" id="typeChoice" data:selectedValue="tgtTypes@emdTargetsData"> <contents data:childData="typeList@emdTargetsData"> <option data:text="tgtTypes" data:value="tgtVals" data:selected="tgtSel"/> </contents> </choice> </contents> </cellFormat> <spacer width="3"/> <cellFormat vAlign="top" hAlign="end"> <contents> <submitButton data:text="GO@commonResourceBundle" name="event" value="add" data:disabled="btnDisabled@emdTargetsData"/> </contents> </cellFormat> </contents> </rowLayout> </contents> </stackLayout> </case> </switcher> <table name="emdTable" data:summary="MAIN_HEAD@emdConfigMsg" formSubmitted="true" width="90%" data:alternateText="NO_TARGETS_FOUND@mntrResourceBundle" data:tableData="row@emdTargetsData" data:value="value@emdTargetsData" data:minValue="minValue@emdTargetsData" data:blockSize="blockSize@emdTargetsData" data:maxValue="maxValue@emdTargetsData" data:destination="tableDestination@emdTargetsData" data:columnHeaderData="column@emdTargetsData"> <columnHeaderStamp> <sortableHeader data:text="text" data:sortable="sortable"/> </columnHeaderStamp> <tableSelection> <singleSelection selectedIndex="0" data:shortDesc="SELECT@commonResourceBundle" data:disabled="noOpPriv"> <contents> <spacer width="5"/> <submitButton data:text="CONFIGURE@commonResourceBundle" data:disabled="configDisabled@emdTargetsData" name="event" value="edit" /> <spacer width="5"/> <submitButton data:text="REMOVE@commonResourceBundle" name="event" value="delete" /> </contents> </singleSelection> </tableSelection> <contents> <column> <contents> <rowLayout> <contents> <inlineMessage data:messageType="unconfigured" data:message="unconfiguredMessage"> <contents> <link data:text="targetName" data:disabled="noOpPriv" data:shortDesc="NAME@commonResourceBundle" data:destination="targetHomeDest"/> </contents> </inlineMessage> </contents> </rowLayout> </contents> </column> <styledText data:text="targetType" data:shortDesc="TYPE@commonResourceBundle" /> <formValue name="target" data:value="intName"/> <formValue name="type" data:value="intType"/> <formValue name="targetName" data:value="targetName"/> <formValue name="targetType" data:value="targetType"/> </contents> </table> </contents> </stackLayout> </case> </switcher> </case> </switcher> </contents> </stackLayout> </contents> </header> <header data:text="OUTSTANDING_ALERTS@healthResourceBundle"> <contents> <switcher data:childName="hasMetricErrors@emdGeneralData"> <case name="true"> <stackLayout> <contents> <spacer width="1%" /> <rowLayout width="100%"> <contents> <cellFormat hAlign="right" width="20%"> <contents> <styledText data:text="METRIC_ERRORS@adminResourceBundle" styleClass="OraInstructionText"/> </contents> </cellFormat> <cellFormat hAlign="right" width="1%"/> <cellFormat hAlign="right" width="2%"> <contents> <image data:source="metricErrorImage@emdGeneralData" data:shortDesc="METRIC_ERRORS@adminResourceBundle"/> </contents> </cellFormat> <cellFormat hAlign="right" width="1%"/> <cellFormat hAlign="left" width="76%"> <contents> <styledText data:text="metricErrors@emdGeneralData" styleClass="OraInstructionText" data:destination="metricErrorsDest@emdGeneralData"/> </contents> </cellFormat> </contents> </rowLayout> <spacer width="1%" /> </contents> </stackLayout> </case> </switcher> <rowLayout vAlign="top" width="100%"> <contents> <table name="alertsTable" width="100%" data:summary="OUTSTANDING_ALERTS@healthResourceBundle" data:value="alertvalue@emdGeneralData" data:minValue="alertmin@emdGeneralData" data:blockSize="alertblockSize@emdGeneralData" data:maxValue="alertmax@emdGeneralData" data:tableData="alerttableData@emdGeneralData" data:columnHeaderData="alerttableHeaderData@emdGeneralData" data:columnFormats="columnFormat@columnData" data:alternateText="NO_ALERTS@adminResourceBundle" data:destination="alertDestination@emdGeneralData" > <columnHeaderStamp> <sortableHeader data:text="text" data:sortable="sortable"/> </columnHeaderStamp> <contents> <styledText data:text="metricName" data:destination="alertdestination"/> <image data:source="severityImage" data:destination="alertdestination" data:shortDesciption="severityImageShortDesc"/> <styledText data:text="trigger_timestamp"/> <styledText data:text="alertmessage"/> <styledText data:text="collection_timestamp"/> </contents> </table> </contents> </rowLayout> <spacer width="2%" /> </contents> </header> </contents> </header> </contents> </stackLayout> </case> </switcher> <include baja:node="../../../health/healthRelatedLinks" /> </contents> </stackLayout> <!-- end of all page header sections --> </contents> </pageLayout> </contents> </form> </contents> <!-- Data Providers --> <provider> <data name="timeData"> <method class="oracle.sysman.eml.mntr.util.CommonDataObject" method="getCurrentTime"/> </data> <data name="relatedLinks"> <method class="oracle.sysman.eml.health.SystemHealthController" method="getRelatedLinks"/> </data> <data name="emdGeneralData"> <method class="oracle.sysman.eml.admin.rep.emdConfig.EmdConfigTargetsData" method="getEmdGeneralData" /> </data> <data name="emdTargetsData"> <method class="oracle.sysman.eml.admin.rep.emdConfig.EmdConfigTargetsData" method="getEmdTargetsList"/> </data> <data name="commonResourceBundle"> <bundle class="oracle.sysman.resources.CommonResourceBundle"/> </data> <data name="healthResourceBundle"> <bundle class="oracle.sysman.resources.health.HealthResourceBundle"/> </data> <data name="adminResourceBundle"> <bundle class="oracle.sysman.eml.admin.rep.AdminResourceBundle"/> </data> <data name="mntrResourceBundle"> <bundle class="oracle.sysman.resources.MntrResourceBundle"/> </data> <data name="emdConfigMsg"> <bundle class="oracle.sysman.eml.admin.rep.emdConfig.EmdConfigMsg"/> </data> <data name="refreshButtonData"> <method class="oracle.sysman.eml.admin.rep.emdConfig.EmdConfigTargetsData" method="getRefreshButtonData"/> </data> <data name="uploadMsgData"> <method class="oracle.sysman.eml.admin.rep.emdConfig.EmdConfigTargetsData" method="getUploadMessage"/> </data> <data name="pingMsgData"> <method class="oracle.sysman.eml.admin.rep.emdConfig.EmdConfigTargetsData" method="getPingErrMessage"/> </data> <data name="uploadInfo"> <method class="oracle.sysman.eml.admin.rep.emdConfig.EmdConfigTargetsData" method="getEmdUploadData"/> </data> <data name="columnData"> <inline> <columnFormat columnDataFormat="textFormat" cellNoWrapFormat="false"/> <columnFormat columnDataFormat="iconButtonFormat" cellNoWrapFormat="false" /> <columnFormat columnDataFormat="textFormat" cellNoWrapFormat="false"/> <columnFormat columnDataFormat="numberFormat" cellNoWrapFormat="false" /> <columnFormat columnDataFormat="textFormat" cellNoWrapFormat="false"/> </inline> </data> </provider> </dataScope> </baja:content> <baja:handlers> <event name="add"> <method class="oracle.sysman.eml.admin.rep.emdConfig.TargetConfigEvents" method="doAddTgtFromAgent"/> </event> <event name="edit"> <method class="oracle.sysman.eml.admin.rep.emdConfig.TargetConfigEvents" method="doModifyTgt"/> </event> <event name="delete"> <method class="oracle.sysman.eml.admin.rep.emdConfig.TargetConfigEvents" method="doDelete"/> </event> <event name="sort"> <method class="oracle.sysman.eml.admin.rep.emdConfig.EmdConfigTargetsData" method="doSort"/> </event> <event name="goto"> <method class="oracle.sysman.eml.admin.rep.emdConfig.EmdConfigEvents" method="gotoTable"/> </event> <event name="null"> <method class="oracle.sysman.eml.admin.rep.emdConfig.EmdConfigEvents" method="doNull"/> </event> <event name="refresh"> <method class="oracle.sysman.eml.admin.rep.emdConfig.EmdConfigEvents" method="doRefresh"/> </event> <event name="upload"> <method class="oracle.sysman.eml.admin.rep.emdConfig.EmdConfigEvents" method="doUploadNow"/> </event> <event name="ping"> <method class="oracle.sysman.eml.admin.rep.emdConfig.EmdConfigEvents" method="doPing"/> </event> <event name="ok"> <method class="oracle.sysman.eml.admin.rep.emdConfig.TargetConfigEvents" method="doCancel"/> </event> </baja:handlers> </page>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de