Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\database\pref\selectIndexes.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 content="no-cache" http-equiv="pragma"/> <html:meta content="no-cache" http-equiv="Cache-Control"/> <html:meta content="-1" http-equiv="Expires"/> </baja:head> <baja:content xmlns="http://bali.us.oracle.com/cabo/marlin"> <form name="hostSearch" method="POST"> <contents> <dataScope> <contents> <script> <contents> function mySelect() { var proxy = new TableProxy("resultTable"); var selectedItems = proxy.getSelectedRows(); var indexes=""; for(var i = 0 ; i < selectedItems.length; i++) { var index = proxy.getFormElement("index", selectedItems[i]); if (indexes.length == 0) { indexes += index.value; } else { indexes += "," + index.value; } } window.opener.document.indexesForm[window.opener.myData].value = indexes; // try to select the radio button for (var j = 1; j < window.opener.document.indexesForm.elements.length; j++) { var e = window.opener.document.indexesForm.elements[j]; if (e == window.opener.document.indexesForm[window.opener.window.myData]) { window.opener.document.indexesForm.elements[j-1].checked = "true"; break; } } top.close(); } </contents> </script> <html:title> <text data:text="pageTitle@availableIndexes"/> </html:title> <pageLayout> <contentFooter> <pageButtonBar> <contents> <button data:text="CANCEL_BUTTON@commonResourceBundle" onClick="top.close();" /> <button data:text="SELECT@commonResourceBundle" onClick="mySelect();" /> </contents> </pageButtonBar> </contentFooter> <contents> <!-- pageLayout contents... --> <stackLayout> <contents> <header data:text="header@availableIndexes" > <contents> <spacer height="5"/> <stackLayout> <contents> <spacer width="20"/> <stackLayout> <contents> <header data:text="SEARCH@commonResourceBundle"> <contents> <rowLayout> <contents> <messageTextInput name="search" data:prompt="SEARCH@commonResourceBundle" columns="40" data:text="search@availableIndexes"/> <spacer width="8" /> <submitButton data:text="GO@notifResourceBundle" name="event" value="search"/> <formValue name="searchPage"/> </contents> </rowLayout> </contents> </header> <header data:text="RESULTS@commonResourceBundle"> <contents> <rowLayout hAlign="right" > <contents> <button data:text="CANCEL_BUTTON@commonResourceBundle" onClick="top.close();" /> <spacer width="10" /> <button data:text="SELECT@commonResourceBundle" onClick="mySelect();" /> <spacer width="15" /> </contents> </rowLayout> <spacer height="25" /> <table name="resultTable" width="100%" formSubmitted="true" data:summary="INDEXES@notifResourceBundle" data:alternateText="NO_INDEXES_FOUND@notifResourceBundle" data:value="value@availableIndexes" data:minValue="minValue@availableIndexes" data:maxValue="maxValue@availableIndexes" data:blockSize="blockSize@availableIndexes" proxied="true" data:tableData="keyValues@availableIndexes" > <tableFormat tableBanding="rowBanding"/> <columnHeaderData> <col data:text="colLabel@availableIndexes" /> </columnHeaderData> <columnHeaderStamp> <sortableHeader data:text="text" /> </columnHeaderStamp> <columnFormats> <columnFormat width="100%" columnDataFormat="textFormat"/> </columnFormats> <tableSelection> <multipleSelection data:selected="isSelected" data:shortDesc="SELECT@notifResourceBundle" > </multipleSelection> </tableSelection> <contents> <styledText data:text="label" data:shortDesc="colLabel@availableIndexes" data:value="label" /> <formValue name="index" data:value="label"/> </contents> </table> <spacer height="10" /> </contents> </header> </contents> </stackLayout> </contents> </stackLayout> </contents> </header> </contents> </stackLayout> <!-- end of all page header sections --> </contents> </pageLayout> </contents> <!-- Data Providers --> <provider> <data name="availableIndexes"> <method class="oracle.sysman.dbTarget.db.emlOverride.pref.NotifRulesPref" method="getAvailableIndexesData" /> </data> <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="commonResourceBundle"> <bundle class="oracle.sysman.resources.CommonResourceBundle"/> </data> <data name="notifResourceBundle"> <bundle class="oracle.sysman.resources.NotifMsg"/> </data> </provider> </dataScope> </contents> </form> </baja:content> <baja:handlers> <event name="search"> <method class="oracle.sysman.eml.pref.NotifRuleEvents" method="doSearch"/> </event> </baja:handlers> </page>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de