Edit D:\app\Administrator\product\11.2.0\dbhome_1\j2ee\OC4J_EM\applications\em\em\admin\rep\emdConfig\targetHostsSearch.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:ctrl="http://xmlns.oracle.com/uix/controller" 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"> <form name="hostSearch" method="POST"> <contents> <dataScope> <contents> <html:title> <text data:text="pageTitle@hostListData"/> </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> <script> <contents> function mySelect() { // create the proxy object var proxy = new TableProxy("hostSearchTable"); // get the number of rows currently displayed var length = proxy.getLength(); // get the selected index of a single-selection table var selectedIndex = proxy.getSelectedRow(); // display the value of the text field in row 2, column "lastName" var emdUrl = proxy.getFormElement("emdUrl", selectedIndex); var hostName = proxy.getFormElement("hostName", selectedIndex); window.opener.document.selectHost.hostName.value = hostName.value; window.opener.document.selectHost.hostName_emdUrl.value = emdUrl.value; top.close(); } </contents> </script> <pageLayout> <contentFooter> <pageButtonBar> <contents> <button data:text="CANCEL_BUTTON@commonResourceBundle" onClick="top.close();" /> <button data:text="SELECT@commonResourceBundle" onClick="mySelect();" /> </contents> </pageButtonBar> </contentFooter> <copyright> <include baja:node="../../../copyright"/> </copyright> <contents> <!-- pageLayout contents... --> <stackLayout> <contents> <header data:text="SEARCH_SELECT@sdkUIMsg"> <contents> <styledText styleClass="OraInstructionText" text=""/> <spacer height="5"/> <stackLayout> <contents> <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@hostListData"> <case name="errNode"> <inlineMessage data:message="errMsg@hostListData" messageType="error"> </inlineMessage> </case> <case name="okNode"> <stackLayout> <contents> <header data:text="SEARCH@sdkUIMsg"> <contents> <rowLayout> <contents> <messageTextInput name="hostName" data:prompt="SEARCH@sdkUIMsg" columns="40" data:text="host@hostListData" data:shortDesc="SEARCH@sdkUIMsg"/> <submitButton data:text="GO@commonResourceBundle" name="event" value="GO"/> <formValue name="searchPage"/> </contents> </rowLayout> </contents> </header> <header data:text="RESULTS@sdkUIMsg"> <contents> <table name="hostSearchTable" width="70%" formSubmitted="true" data:alternateText="NO_TARGETS_FOUND@sdkUIMsg" data:tableData="row@hostListData" data:value="value@hostListData" data:minValue="minValue@hostListData" proxied="true" data:blockSize="blockSize@hostListData" data:columnHeaderData="column@hostListData" data:summary="HOST_NAME@sdkUIMsg" data:maxValue="maxValue@hostListData"> <columnHeaderStamp> <sortableHeader data:text="text" data:sortable="sortable"/> </columnHeaderStamp> <tableSelection> <singleSelection selectedIndex="0" data:shortDesc="SELECT@commonResourceBundle"> </singleSelection> </tableSelection> <contents> <styledText data:text="hostName" data:value="emdUrl" /> <styledText data:text="emdUrl" /> <formValue name="emdUrl" data:value="emdUrl"/> <formValue name="hostName" data:value="hostName"/> </contents> </table> </contents> </header> </contents> </stackLayout> </case> </switcher> </contents> </stackLayout> </contents> </header> </contents> </stackLayout> <!-- end of all page header sections --> </contents> </pageLayout> </contents> <!-- Data Providers --> <provider> <data name="sortHeaders"> <method class="oracle.sysman.eml.mntr.util.TableHeaderSort" method="getIsSortable"/> </data> <data name="sort"> <method class="oracle.sysman.eml.mntr.util.TableHeaderSort" method="sort"/> </data> <data name="hostListData"> <method class="oracle.sysman.eml.admin.rep.emdConfig.TargetConfigDataObject" method="getHostListData"/> </data> <data name="commonResourceBundle"> <bundle class="oracle.sysman.resources.CommonResourceBundle"/> </data> <data name="sdkUIMsg"> <bundle class="oracle.sysman.emSDK.eml.SDKUIMsg"/> </data> </provider> </dataScope> </contents> </form> </baja:content> <baja:handlers> <event name="null"> <method class="oracle.sysman.eml.admin.rep.emdConfig.TargetConfigEvents" method="doNull" /> </event> <event name="sort"> <method class="oracle.sysman.eml.mntr.util.TableHeaderSort" method="doSort"/> </event> <event name="GO"> <method class="oracle.sysman.eml.admin.rep.emdConfig.TargetConfigEvents" method="doSelectHost"/> </event> <event name="goto"> <method class="oracle.sysman.eml.admin.rep.emdConfig.TargetConfigEvents" method="doGoto"/> </event> <event name="sort"> <method class="oracle.sysman.eml.admin.rep.emdConfig.TargetConfigEvents" method="doSort"/> </event> </baja:handlers> </page>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de