Edit D:\app\Administrator\product\11.2.0\dbhome_1\owb\j2ee\applications\templates\grant_access.uit
<?xml version="1.0" encoding="windows-1252"?> <!-- Template definition file. Add any needed namespaces, and specify the required "targetNamespace" and "localName" attributes --> <templateDefinition xmlns="http://xmlns.oracle.com/uix/ui" xmlns:ui="http://xmlns.oracle.com/uix/ui" xmlns:data="http://xmlns.oracle.com/uix/ui" xmlns:ctrl="http://xmlns.oracle.com/uix/controller" xmlns:html="http://www.w3.org/TR/REC-html40" targetNamespace="http://www.owbb.oracle.com/owbb_admin_template" localName="owbb_admin_grant_access_form"> <!-- Type section: Define a "base" attribute if needed --> <type base="ui:form"> <!-- Add any needed named children --> <!-- Add any needed attributes --> </type> <!-- Content section: define the content of the template --> <content> <dataScope xmlns="http://bali.us.oracle.com/cabo/marlin" xmlns:data="http://bali.us.oracle.com/cabo/marlin" xmlns:event="http://bali.us.oracle.com/cabo/baja"> <provider> <data name="text"> <bundle class="oracle.wh.browser.owbb_nls"/> </data> <data name="access_management"> <method class="oracle.wh.browser.access_management" method="getTitle"/> </data> <data name="UserGroupRoleTableData"> <method class="oracle.wh.browser.access_management" method="getUserGroupRoleTableData"/> </data> </provider> <contents> <form name="grant_access" method="post"> <attributeMap> <rootAttributeMap/> </attributeMap> <childMap> <rootChildMap/> </childMap> <contents> <table name="User_Access" proxied="true" data:tableData="@UserGroupRoleTableData"> <tableSelection> <multipleSelection data:text="select@access_management"> <contents> <submitButton data:text="admin_grant@text" ctrl:event="Grant" /> <!-- data:destination="grant_dest@access_management" /> destination="javascript:grant()" /> --> </contents> </multipleSelection> </tableSelection> <columnHeaderData> <col data:Text="gen_name@text" /> </columnHeaderData> <columnHeaderStamp> <boundText select="Text" /> </columnHeaderStamp> <contents> <boundText select="name" /> </contents> </table> <script> <contents> function grant() { var proxy = new TableProxy('User Access'); var rows = proxy.getSelectedRows(); var len = rows.length; if (len <= 0) { alert("You have not chosen anyone !"); } } </contents> </script> <formValue name="pageType" data:value="pageType@access_management" /> <formValue name="grantType" data:value="grantType@access_management" /> <formValue name="id" data:value="id@access_management" /> </contents> </form> </contents> </dataScope> </content> </templateDefinition>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de