Edit D:\app\Administrator\product\11.2.0\dbhome_1\owb\j2ee\applications\templates\reg_repos_form.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_reg_repos"> <!-- Type section: Define a "base" attribute if needed --> <type> <!-- 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="getTitle"> <method class="oracle.wh.browser.register_repository" method="getInfo"/> </data> </provider> <contents> <!-- <form name="regRepos" method="post"> <attributeMap> <rootAttributeMap/> </attributeMap> <childMap> <rootChildMap/> </childMap> <contents> --> <stackLayout> <contents> <tableLayout width="80%" cellSpacing="2" cellPadding="5" borderWidth="0" hAlign="center"> <contents> <switcher data:childName="error@ctrl:eventResult"> <case name="true"> <messageTextInput name="logicname" required="yes" data:text="logicname@ctrl:eventResult" data:prompt="admin_name@text" /> </case> <default> <messageTextInput name="logicname" required="yes" data:text="logicname@getTitle" data:prompt="admin_name@text" /> </default> </switcher> <switcher data:childName="function@getTitle"> <case name="edit"> <inlineMessage data:prompt="admin_host_name@text" > <contents> <styledText data:text="hostname@getTitle"/> </contents> </inlineMessage> </case> </switcher> <switcher data:childName="function@getTitle"> <case name="edit"> <inlineMessage data:prompt="admin_db_serviceName@text" > <contents> <styledText data:text="sid@getTitle"/> </contents> </inlineMessage> </case> </switcher> <switcher data:childName="function@getTitle"> <case name="edit"> <inlineMessage data:prompt="admin_repos_name@text" > <contents> <styledText data:text="reposname@getTitle"/> </contents> </inlineMessage> </case> </switcher> <!-- we use dblink to automaticly detect the host name and sid information <switcher data:childName="error@ctrl:eventResult"> <case name="true"> <messageTextInput name="hostname" required="yes" data:text="hostname@ctrl:eventResult" data:prompt="admin_host_name@text" /> </case> <default> <messageTextInput name="hostname" required="yes" data:text="hostname@getTitle" data:prompt="admin_host_name@text" /> </default> </switcher> <switcher data:childName="error@ctrl:eventResult"> <case name="true"> <messageTextInput name="sid" required="yes" data:text="sid@ctrl:eventResult" data:prompt="admin_db_serviceName@text" /> </case> <default> <messageTextInput name="sid" required="yes" data:text="sid@getTitle" data:prompt="admin_db_serviceName@text" /> </default> </switcher> <switcher data:childName="error@ctrl:eventResult"> <case name="true"> <messageTextInput name="reposname" required="yes" data:text="reposname@ctrl:eventResult" data:prompt="admin_repos_name@text" /> </case> <default> <messageTextInput name="reposname" required="yes" data:text="reposname@getTitle" data:prompt="admin_repos_name@text" /> </default> </switcher> --> <switcher data:childName="error@ctrl:eventResult"> <case name="true"> <messageLovField name="dblink" required="yes" data:shortDesc="admin_cs_dblink@text" onClick="openWindow(window, 'select_dblinks.uix', 'lovWindow', {width:750, height:400}, true, 'dialog', callBack); return false;" data:text="dblink@ctrl:eventResult" data:prompt="admin_db_link@text" /> </case> <default> <messageLovField name="dblink" required="yes" data:shortDesc="admin_cs_dblink@text" onClick="openWindow(window, 'select_dblinks.uix', 'lovWindow', {width:750, height:400}, true, 'dialog', callBack); return false;" data:text="dblink@getTitle" data:prompt="admin_db_link@text" /> </default> </switcher> <switcher data:childName="error@ctrl:eventResult"> <case name="true"> <messageTextInput rows="4" wrap="soft" name="description" required="no" data:text="reposname@ctrl:eventResult" data:prompt="admin_des@text" /> </case> <default> <messageTextInput rows="4" wrap="soft" name="description" required="no" data:text="description@getTitle" data:prompt="admin_des@text" /> </default> </switcher> </contents> </tableLayout> </contents> </stackLayout> <script> <contents> function callBack(lovWin, event) { if (lovWin.lovData != (void 0)) { document.regRepos.dblink.value = lovWin.lovData; } } </contents> </script> </contents> <!-- </form> </contents> --> </dataScope> </content> </templateDefinition>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de