Edit D:\app\Administrator\product\11.2.0\dbhome_1\j2ee\OC4J_EM\applications\em\em\monitoring\copyMetricThresholds.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:data="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"> <baja:content xmlns="http://bali.us.oracle.com/cabo/marlin" > <dataScope> <contents> <html:title> <text data:text="title@copyMetricThrHeaderData" /> </html:title> <form name="copyMetThr" method="POST" id="copyMetThr"> <contents> <pageLayout xmlns="http://bali.us.oracle.com/cabo/marlin" > <mediumAdvertisement> <include baja:node="../oemBanner" /> </mediumAdvertisement> <globalButtons> <include baja:node="../globalButtonBar" /> </globalButtons> <data:tabs> <include baja:node="../globalTabs" /> </data:tabs> <data:pageHeader> <include baja:node="../globalHeader" /> </data:pageHeader> <data:location> <include baja:node="../breadCrumbs" /> </data:location> <contentFooter> <pageButtonBar> <contents> <rowLayout> <contents> <submitButton data:text="CANCEL@commonResourceBundle" name="event" value="Cancel" /> <spacer width="3"/> <submitButton data:text="CONTINUE@commonResourceBundle" name="event" value="Ok" /> </contents> </rowLayout> </contents> </pageButtonBar> </contentFooter> <copyright> <include baja:node="../copyright" /> </copyright> <data:contents> <tableLayout cellSpacing="10" width="100%"> <contents> <rowLayout rendered="false" data:rendered="exceptionOccurred@copyMetricThrData" vAlign="top"> <contents> <cellFormat vAlign="top"> <contents> <messageBox messageType="error" longDescURL="unimpl" data:message="updateFailedMessage@copyMetricThrData"> </messageBox> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> <stackLayout> <contents> <header data:text="header@copyMetricThrHeaderData"> <contents> <borderLayout> <innerTop> <styledText data:text="headerMessage@copyMetricThrData" styleClass="OraInstructionText"/> </innerTop> <right> <rowLayout> <contents> <submitButton data:text="CANCEL@commonResourceBundle" name="event" value="Cancel" /> <spacer width="3"/> <submitButton data:text="CONTINUE@commonResourceBundle" name="event" value="Ok" /> </contents> </rowLayout> </right> </borderLayout> <spacer height="10"/> <formValue name="copyMode" data:value="copyMode" /> <borderLayout> <contents> <switcher data:childName="node@copyMetricThrData"> <case name="okNode"> <stackLayout> <contents> <switcher data:childName="copyMode@copyMetricThrData"> <case name="copyFrom"> <tableLayout> <contents> <rowLayout> <contents> <script> <contents> function myCallBack(lovwin, event) { var value = lovwin.myData; var text = lovwin.myHost; if (text!=(void 0)) document.copyMetThr.selectedTargetName.value = lovwin.myHost; } </contents> </script> </contents> </rowLayout> <rowLayout> <contents> <cellFormat> <contents> <messageLovField name="selectedTargetName" data:prompt="SOURCE_TARGET@mntrResourceBundle" required="uiOnly" shortDesc="Click to find a target" data:text="selectedTarget@copyMetricThrData" onClick="setSearchPage(); openWindow(top, searchPage.value, 'lovWindow', {width:600, height:500}, true, 'dialog', myCallBack); return false;"/> </contents> </cellFormat> <formValue name="searchPage"/> </contents> </rowLayout> <rowLayout> <contents> <cellFormat> <contents> <styledText data:text="DESTINATION_TARGET@mntrResourceBundle" styleClass="OraInstructionText"/> <spacer width="10"/> <styledText data:text="thisTargetName@copyMetricThrData" styleClass="OraInstructionTextStrong"/> </contents> </cellFormat> </contents> </rowLayout> <rowLayout> <contents> <script> <contents> function setSearchPage() { var targetEntered = document.copyMetThr.selectedTargetName.value; var searchPage = "selectTarget?targetEntered="+targetEntered; document.copyMetThr.searchPage.value = searchPage; } </contents> </script> </contents> </rowLayout> </contents> </tableLayout> <!--<styledText data:text="DESTINATION_TARGET@mntrResourceBundle"/> <styledText data:text="thisTargetName@copyMetricThrData" styleClass="OraInstructionTextStrong"/>--> </case> <case name="copyTo"> <stackLayout> <contents> <labeledFieldLayout fieldWidth="85%" labelWidth="13%"> <contents> <styledText data:text="SOURCE_TARGET@mntrResourceBundle"/> <styledText data:text="thisTargetName@copyMetricThrData" styleClass="OraInstructionTextStrong"/> </contents> </labeledFieldLayout> <spacer height="5"/> <header data:text="DESTINATION_TARGETS@mntrResourceBundle"> <contents> <spacer height="10"/> <!-- <rowLayout width="50%"> <contents> <submitButton hAlign="right" data:text="ADD@commonResourceBundle" name="event" value="Add" /> </contents> </rowLayout> <spacer height="1"/>--> <rowLayout width="100%"> <contents> <cellFormat width="60%" vAlign="top"> <contents> <rowLayout width="95%"> <contents> <submitButton hAlign="right" data:text="ADD@commonResourceBundle" name="event" value="Add" /> </contents> </rowLayout> <rowLayout> <contents> <spacer height="3"/> </contents> </rowLayout> <rowLayout width="95%"> <contents> <table name="selectedTargetsTable" id="selectedTargetsTable" data:summary="header@copyMetricThrHeaderData" partialRenderMode="self" text="" data:alternateText="NO_TARGETS_SELECTED@mntrResourceBundle" width="100%" data:blockSize="blockSize@selectedTargetsData" formSubmitted="true" data:tableData="row@selectedTargetsData" data:columnHeaderData="column@selectedTargetsData" data:minValue="minValue@selectedTargetsData" data:maxValue="maxValue@selectedTargetsData" data:value="value@selectedTargetsData"> <tableFormat tableBanding="rowBanding"/> <columnHeaderStamp> <sortableHeader data:text="text" data:sortable="sortable" /> </columnHeaderStamp> <tableSelection> <multipleSelection selected="false" data:shortDesc="SELECT@commonResourceBundle" data:selected="selected"> <contents> <submitButton data:text="REMOVE@commonResourceBundle" name="event" value="Remove"/> </contents> </multipleSelection> </tableSelection> <columnFormats> <columnFormat width="60%" columnDataFormat="textFormat"/> <columnFormat width="40%" columnDataFormat="textFormat"/> </columnFormats> <contents> <styledText rendered="true" data:shortDesc="NAME@commonResourceBundle" data:text="targetName"/> <stackLayout> <contents> <radioButton name="copyOptionRadioButton" data:selected="selectCopyCommon" data:text="COPY_COMMON_THRESHOLDS@mntrResourceBundle" data:shortDesc="COPY_COMMON_THRESHOLDS@mntrResourceBundle" value="0"/> <radioButton name="copyOptionRadioButton" data:selected="selectCopyAll" data:text="COPY_ALL_THRESHOLDS@mntrResourceBundle" data:shortDesc="COPY_ALL_THRESHOLDS@mntrResourceBundle" value="1"/> </contents> </stackLayout> <formValue name="targetName" data:value="targetName" /> </contents> </table> </contents> </rowLayout> </contents> </cellFormat> <!--<spacer height="20"/>--> <!--<rowLayout data:rendered="showCopyOptionsDescription@copyMetricThrData"> <contents>--> <cellFormat width="40%" hAlign="right"> <contents> <contentContainer data:text="COPY_OPTIONS_DESCRIPTION@mntrResourceBundle" width="100%"> <contents> <bulletedList> <contents> <styledText data:text="COPY_COMMON_DESC@mntrResourceBundle" styleClass="OraInstructionText"/> <styledText data:text="COPY_ALL_DESC@mntrResourceBundle" styleClass="OraInstructionText"/> </contents> </bulletedList> </contents> </contentContainer> </contents> </cellFormat> </contents> </rowLayout> </contents> </header> </contents> </stackLayout> </case> </switcher> <spacer height="10"/> <header data:text="COPY_OPTIONS@mntrResourceBundle" data:rendered="showCopyOptionsHeader@copyMetricThrData"> <contents> <rowLayout width="100%"> <contents> <cellFormat width="50%" vAlign="top"> <contents> <stackLayout> <contents> <radioButton name="copyRadioButton" data:selected="selectCopyCommon@copyMetricThrData" data:text="COPY_THR_FOR_COMMON_METRICS@mntrResourceBundle" value="0"/> <radioButton name="copyRadioButton" data:selected="selectCopyAll@copyMetricThrData" data:text="COPY_THR_FOR_ALL_METRICS@mntrResourceBundle" value="1"/> </contents> </stackLayout> </contents> </cellFormat> <cellFormat width="100%" vAlign="middle" hAlign="right"> <contents> <contentContainer data:text="COPY_OPTIONS_DESCRIPTION@mntrResourceBundle" width="100%"> <contents> <bulletedList> <contents> <styledText data:text="COPY_COMMON_DESC@mntrResourceBundle" styleClass="OraInstructionText"/> <styledText data:text="COPY_ALL_DESC@mntrResourceBundle" styleClass="OraInstructionText"/> </contents> </bulletedList> </contents> </contentContainer> </contents> </cellFormat> </contents> </rowLayout> </contents> </header> </contents> </stackLayout> </case> <case name="errNode"> <messageBox data:message="errMsg@copyMetricThrData" messageType="error" longDescURL="unimpl" data:text="ERROR_OCCURRED_MSG@mntrResourceBundle"> </messageBox> </case> </switcher> </contents> </borderLayout> </contents> </header> </contents> </stackLayout> </data:contents> </pageLayout> </contents> </form> </contents> <provider> <!--<data name="columnHeaderDataTable"> <inline> <columnHeaders data:value="TARGET_NAME@mntrResourceBundle" sortable="yes"/> <columnHeaders value="Copy Options" sortable="no"/> </inline> </data>--> <data name="selectedTargetsData"> <method class="oracle.sysman.eml.mntr.metrics.MetricThresholdsDataObject" method="getSelectedTargetsData"/> </data> <data name="commonResourceBundle"> <bundle class="oracle.sysman.resources.CommonResourceBundle"/> </data> <data name="mntrResourceBundle"> <bundle class="oracle.sysman.resources.MntrResourceBundle"/> </data> <data name="copyMetricThrHeaderData"> <method class="oracle.sysman.eml.mntr.metrics.MetricThresholdsDataObject" method="getCopyMetricThresholdsHeaderData"/> </data> <data name="copyMetricThrData"> <method class="oracle.sysman.eml.mntr.metrics.MetricThresholdsDataObject" method="getCopyMetricThresholdsData"/> </data> <data name="targetListData"> <method class="oracle.sysman.eml.mntr.metrics.MetricThresholdsDataObject" method="getTargetListData" /> </data> <data name="manageMetricsHeaderData"> <method class="oracle.sysman.eml.mntr.metrics.MetricThresholdsDataObject" method="getManageMetricsHeaderData"/> </data> </provider> </dataScope> </baja:content> <handlers> <!-- use this handler to enter this page --> <event name="*"> <method class="oracle.sysman.eml.mntr.metrics.MetricThresholdsDataObject" method="doLoad"/> </event> <event name="doLoad"> <method class="oracle.sysman.eml.mntr.metrics.MetricThresholdsDataObject" method="doLoad"/> </event> <!--<event name="Ok"> <method class="oracle.sysman.eml.mntr.metrics.MetricThresholdsDataObject" method="copyThresholds"/> </event>--> <event name="Ok"> <method class="oracle.sysman.eml.mntr.metrics.MetricThresholdsDataObject" method="getMetricDiffCounts"/> </event> <event name="Cancel"> <method class="oracle.sysman.eml.mntr.metrics.MetricThresholdsDataObject" method="cancelCopyThresholds"/> </event> <event name="Add"> <method class="oracle.sysman.eml.mntr.metrics.MetricThresholdsDataObject" method="addTargets"/> </event> <event name="search"> <method class="oracle.sysman.eml.mntr.metrics.MetricThresholdsDataObject" method="addTargets"/> </event> <event name="Remove"> <method class="oracle.sysman.eml.mntr.metrics.MetricThresholdsDataObject" method="removeTargets"/> </event> <event name="goto"> <method class="oracle.sysman.eml.mntr.metrics.MetricThresholdsDataObject" method="doGoto1"/> </event> <event name="sort"> <method class="oracle.sysman.eml.mntr.metrics.MetricThresholdsDataObject" method="doSort1"/> </event> </handlers> </page>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de