Edit D:\app\Administrator\product\11.2.0\dbhome_1\j2ee\OC4J_EM\applications\em\em\admin\rep\selectDBUser.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="selectDBUser" method="POST"> <contents> <dataScope> <contents> <script> <contents> function mySelect() { // create the proxy object var proxy = new TableProxy("dbUserTable"); // 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 "Name" var dbUserName = proxy.getFormElement("userName", selectedIndex); window.opener.document.editUser.userName.value = dbUserName.value; top.close(); } </contents> </script> <html:title> <text data:text="TITLE@dbUserListData"/> </html:title> <pageLayout> <contentFooter> <pageButtonBar> <contents> <button data:text="CANCEL@ResourceBundle" onClick="top.close();" /> <button data:text="SELECT@ResourceBundle" onClick="mySelect();" /> </contents> </pageButtonBar> </contentFooter> <copyright> <include baja:node="../../copyright"/> </copyright> <contents> <!-- pageLayout contents... --> <stackLayout> <contents> <header data:text="SELECT_DB_USER_TITLE@ResourceBundle"> <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@dbUserListData"> <case name="errNode"> <inlineMessage data:message="errMsg@dbUserListData" messageType="error"> </inlineMessage> </case> <case name="okNode"> <stackLayout> <contents> <header data:text="DB_USER_TITLE@ResourceBundle"> <contents> <table name="dbUserTable" width="70%" formSubmitted="true" alternateText="no user found" data:tableData="row@dbUserListData" data:value="value@dbUserListData" data:minValue="minValue@dbUserListData" proxied="true" data:blockSize="blockSize@dbUserListData" data:columnHeaderData="column@dbUserListData" data:maxValue="maxValue@dbUserListData"> <columnHeaderStamp> <sortableHeader data:text="text" data:sortable="sortable"/> </columnHeaderStamp> <tableSelection> <singleSelection selectedIndex="0" > </singleSelection> </tableSelection> <contents> <styledText data:text="userName" data:value="userName" /> <formValue name="userName" data:value="userName"/> </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="dbUserListData"> <method class="oracle.sysman.eml.admin.rep.DBUserDataObject" method="getDBUserListData"/> </data> <data name="ResourceBundle"> <bundle class="oracle.sysman.eml.admin.rep.AdminResourceBundle"/> </data> </provider> </dataScope> </contents> </form> </baja:content> <baja:handlers> <event name="sort"> <method class="oracle.sysman.eml.mntr.util.TableHeaderSort" method="doSort"/> </event> <event name="goto"> <method class="oracle.sysman.eml.admin.rep.DBUserDataObject" method="doGoto"/> </event> </baja:handlers> </page>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de