Edit D:\app\Administrator\product\11.2.0\dbhome_1\j2ee\OC4J_EM\applications\em\em\admin\rep\editUser.uix
<?xml version = '1.0' encoding = 'UTF-8'?> <page xmlns="http://bali.us.oracle.com/cabo/baja" xmlns:baja="http://bali.us.oracle.com/cabo/baja" xmlns:data="http://bali.us.oracle.com/cabo/marlin" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:marlin="http://bali.us.oracle.com/cabo/marlin"> <baja:head xmlns="http://www.w3.org/TR/REC-html40" /> <baja:content xmlns="http://bali.us.oracle.com/cabo/marlin"> <body onLoad="loadIt();"> <contents> <dataScope> <contents> <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 myCallBack(lovwin, event) { var value = lovwin.myData; var text = lovwin.myUser; if (text!=(void 0)) document.editUser.userName = lovwin.myUser; } function getSelDBUserPage() { var selDbUserPage = "selectDBUser"; document.editUser.selDbUserPage.value = selDbUserPage; window.open("../../admin/rep/selectDBUser",'lovWindow',"width=500,height=430,location=no, menubar=no, status=no,scrollbars=yes, resizable=yes"); } function loadIt() { if(document.editUser.userName != null) { document.editUser.userName.focus(); document.editUser.userName.select(); } // for doselectuser if(_agent.isIE) { var mydomain = editUser.hostdomain.value; if (mydomain!=(void 0) ) { if( mydomain != "") document.domain = mydomain; } } } function doSelectUser(lovwin, event) { var value = lovwin.userName; if (value!=(void 0)){ document.editUser.userName.value = lovwin.userName; document.editUser.emailAddress.value = lovwin.userEmail; } } </contents> </script> <html:title> <text data:text="title@updateUser"/> </html:title> </contents> <provider> <data name="updateUser"> <method class="oracle.sysman.eml.admin.rep.UserData" method="getUserData"/> </data> <data name="ResourceBundle"> <bundle class="oracle.sysman.eml.admin.rep.AdminResourceBundle"/> </data> <data name="userPrivsNames"> <method class="oracle.sysman.eml.admin.rep.UserData" method="getUserPrivilegeOptions"/> </data> </provider> <contents> <form name="editUser" method="POST"> <contents> <formValue name="hostdomain" data:value="hostDomain@updateUser" formSubmit="false" /> <formValue name="selDbUserPage"/> </contents> <contents> <pageLayout> <mediumAdvertisement> <include baja:node="../../oemBanner" /> </mediumAdvertisement> <globalButtons> <include baja:node="../../globalButtonBar" /> </globalButtons> <marlin:tabs> <include baja:node="../../globalTabs" /> </marlin:tabs> <pageHeader> <include baja:node="header"/> </pageHeader> <location> <include baja:node="adminSteps" /> </location> <contentFooter> <include baja:node="buttonBar_0"/> </contentFooter> <copyright> <include baja:node="../../copyright" /> </copyright> <contents> <stackLayout> <contents> <header data:text="editHeader@updateUser"/> <tableLayout width="98%"> <contents> <rowLayout hAlign="right"> <contents> <cellFormat> <contents> <include baja:node="buttonBar_0"/> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> <tableLayout width="98%"> <contents> <rowLayout> <contents> <switcher data:childName="updateResult@updateUser"> <case name="updateFailed"> <stackLayout> <contents> <messageBox data:message="errMsg@updateUser" messageType="error" /> <spacer height="20" /> </contents> </stackLayout> </case> </switcher> </contents> </rowLayout> <rowLayout> <contents> <cellFormat columnSpan="2" wrappingDisabled="true" width="120" hAlign="right"> <contents> <switcher data:childName="operation@updateUser"> <case name="add"> <stackLayout> <contents> <switcher data:childName="authType@updateUser" defaultCase="oms"> <case name="oms"> <labeledFieldLayout fieldWidth="100%" labelWidth="0%"> <contents> <switcher data:childName="isEmbeddedDB@updateUser"> <case name="false"> <messageTextInput name="userName" noAutoComplete="true" data:prompt="NAME@ResourceBundle" data:shortDesc="NAME@ResourceBundle" required="yes" rows="1" columns="40" data:text="userName@updateUser"> </messageTextInput> </case> <case name="true"> <messageLovField name="userName" noAutoComplete="true" required="yes" data:prompt="NAME@ResourceBundle" data:shortDesc="DB_USER_SELECT_SHORT_DESC@ResourceBundle" columns="40" data:text="userName@updateUser" onClick="getSelDBUserPage();"> </messageLovField> </case> </switcher> <switcher data:childName="isEmbeddedDB@updateUser"> <case name="false"> <messageTextInput name="userPassword" data:prompt="PASSWORD@ResourceBundle" data:shortDesc="PASSWORD@ResourceBundle" required="yes" rows="1" columns="40" secret="true" noAutoComplete="true" data:text="userPassword@updateUser"> </messageTextInput> <messageTextInput name="verifyPassword" data:prompt="CONFIRM_PASSWORD@ResourceBundle" data:shortDesc="CONFIRM_PASSWORD@ResourceBundle" required="yes" rows="1" columns="40" secret="true" noAutoComplete="true" data:text="verifyPassword@updateUser"> </messageTextInput> </case> </switcher> <messageTextInput name="emailAddress" data:prompt="EMAIL_ADDRESS@ResourceBundle" data:shortDesc="EMAIL_ADDRESS@ResourceBundle" data:message="emailMessage@updateUser" required="no" rows="1" columns="70" data:text="emailAddress@updateUser"> </messageTextInput> <switcher data:childName="isEmbeddedDB@updateUser"> <case name="true"> <messageChoice name="dbUserPriv" data:selectedValue="dbUserPriv@updateUser" data:prompt="USER_PRIVILEGE@ResourceBundle" data:shortDesc="USER_PRIVILEGE_DESC@ResourceBundle" > <contents data:childData="userPrivsValues@userPrivsNames"> <option data:text="NLS_TEXT" data:value="INTERNAL_TEXT_KEY"/> </contents> </messageChoice> </case> <case name="false"> <messageCheckBox name="isSuper" data:text="ACCESS_ALL@ResourceBundle" data:shortDesc="ACCESS_ALL@ResourceBundle" value="true" checked="false" data:checked="isSuper@updateUser"/> </case> </switcher> <switcher data:childName="isEmbeddedDB@updateUser"> <case name="true"> <messageCheckBox name="grantSelectCatalog" data:text="GRANT_SELECT_CATALOG_ROLE@ResourceBundle" data:shortDesc="GRANT_SELECT_CATALOG_ROLE@ResourceBundle" value="true" checked="true" data:checked="grantSelectCatalog@updateUser"/> </case> </switcher> </contents> </labeledFieldLayout> </case> <case name="sso"> <labeledFieldLayout fieldWidth="100%" labelWidth="0%"> <contents> <messageLovField name="userName" noAutoComplete="true" data:prompt="NAME@ResourceBundle" data:shortDesc="SSO_USER_SELECT_SHORT_DESC@ResourceBundle" columns="40" data:text="userName@updateUser"> <boundAttribute name="onClick"> <concat> javascript:openWindow(window, '<dataObject select="dasSearchUrl" source="updateUser"/>', 'lovWindow', {width:600,height:600}, false, 'dialog', doSelectUser);return false; </concat> </boundAttribute> </messageLovField> <messageTextInput name="emailAddress" data:prompt="EMAIL_ADDRESS@ResourceBundle" data:shortDesc="EMAIL_ADDRESS@ResourceBundle" required="no" rows="1" columns="70" data:text="emailAddress@updateUser"> </messageTextInput> <messageCheckBox name="isSuper" data:text="ACCESS_ALL@ResourceBundle" data:shortDesc="ACCESS_ALL@ResourceBundle" value="true" checked="false" data:checked="isSuper@updateUser"/> </contents> </labeledFieldLayout> </case> <case name="euser"> <labeledFieldLayout fieldWidth="100%" labelWidth="0%"> <contents> <messageLovField name="userName" noAutoComplete="true" data:prompt="NAME@ResourceBundle" data:shortDesc="EUSER_USER_SELECT_SHORT_DESC@ResourceBundle" columns="40" data:text="userName@updateUser"> <boundAttribute name="onClick"> <concat> javascript:openWindow(window, '<dataObject select="dasSearchUrl" source="updateUser"/>', 'lovWindow', {width:600,height:600}, false, 'dialog', doSelectUser);return false; </concat> </boundAttribute> </messageLovField> <messageTextInput name="emailAddress" data:prompt="EMAIL_ADDRESS@ResourceBundle" data:shortDesc="EMAIL_ADDRESS@ResourceBundle" required="no" rows="1" columns="70" data:text="emailAddress@updateUser"> </messageTextInput> <messageCheckBox name="isSuper" data:text="ACCESS_ALL@ResourceBundle" data:shortDesc="ACCESS_ALL@ResourceBundle" value="true" checked="false" data:checked="isSuper@updateUser"/> </contents> </labeledFieldLayout> </case> </switcher> </contents> </stackLayout> </case> <case name="createLike"> <stackLayout> <contents> <switcher data:childName="authType@updateUser" defaultCase="oms"> <case name="oms"> <labeledFieldLayout fieldWidth="100%" labelWidth="0%"> <contents> <messageTextInput name="userName" noAutoComplete="true" data:prompt="NAME@ResourceBundle" data:shortDesc="NAME@ResourceBundle" required="yes" rows="1" columns="40" data:text="userName@updateUser"> </messageTextInput> <switcher data:childName="isEmbeddedDB@updateUser"> <case name="false"> <messageTextInput name="userPassword" data:prompt="PASSWORD@ResourceBundle" data:shortDesc="PASSWORD@ResourceBundle" required="yes" rows="1" columns="40" secret="true" noAutoComplete="true" data:text="userPassword@updateUser"> </messageTextInput> <messageTextInput name="verifyPassword" data:prompt="CONFIRM_PASSWORD@ResourceBundle" data:shortDesc="CONFIRM_PASSWORD@ResourceBundle" required="yes" rows="1" columns="40" secret="true" noAutoComplete="true" data:text="verifyPassword@updateUser"> </messageTextInput> </case> </switcher> <messageTextInput name="emailAddress" data:prompt="EMAIL_ADDRESS@ResourceBundle" data:shortDesc="EMAIL_ADDRESS@ResourceBundle" required="no" rows="1" columns="70" data:text="emailAddress@updateUser"> </messageTextInput> <switcher data:childName="isEmbeddedDB@updateUser"> <case name="true"> <messageChoice name="dbUserPriv" data:selectedValue="dbUserPriv@updateUser" data:prompt="USER_PRIVILEGE@ResourceBundle" data:shortDesc="USER_PRIVILEGE_DESC@ResourceBundle" > <contents data:childData="userPrivsValues@userPrivsNames"> <option data:text="NLS_TEXT" data:value="INTERNAL_TEXT_KEY"/> </contents> </messageChoice> </case> <case name="false"> <messageCheckBox name="isSuper" data:text="ACCESS_ALL@ResourceBundle" data:shortDesc="ACCESS_ALL@ResourceBundle" value="true" checked="false" data:checked="isSuper@updateUser"/> </case> </switcher> <switcher data:childName="isEmbeddedDB@updateUser"> <case name="true"> <messageCheckBox name="grantSelectCatalog" data:text="GRANT_SELECT_CATALOG_ROLE@ResourceBundle" data:shortDesc="GRANT_SELECT_CATALOG_ROLE@ResourceBundle" value="true" checked="true" data:checked="grantSelectCatalog@updateUser"/> </case> </switcher> </contents> </labeledFieldLayout> </case> <case name="sso"> <labeledFieldLayout fieldWidth="100%" labelWidth="0%"> <contents> <messageLovField name="userName" noAutoComplete="true" data:prompt="NAME@ResourceBundle" data:shortDesc="SSO_USER_SELECT_SHORT_DESC@ResourceBundle" columns="40" data:text="userName@updateUser"> <boundAttribute name="onClick"> <concat> javascript:openWindow(window, '<dataObject select="dasSearchUrl" source="updateUser"/>', 'lovWindow', {width:600,height:600}, false, 'dialog', doSelectUser);return false; </concat> </boundAttribute> </messageLovField> <messageTextInput name="emailAddress" data:prompt="EMAIL_ADDRESS@ResourceBundle" data:shortDesc="EMAIL_ADDRESS@ResourceBundle" required="no" rows="1" columns="70" data:text="emailAddress@updateUser"> </messageTextInput> <messageCheckBox name="isSuper" data:text="ACCESS_ALL@ResourceBundle" data:shortDesc="ACCESS_ALL@ResourceBundle" value="true" checked="false" data:checked="isSuper@updateUser"/> </contents> </labeledFieldLayout> </case> <case name="euser"> <labeledFieldLayout fieldWidth="100%" labelWidth="0%"> <contents> <messageLovField name="userName" noAutoComplete="true" data:prompt="NAME@ResourceBundle" data:shortDesc="EUSER_USER_SELECT_SHORT_DESC@ResourceBundle" columns="40" data:text="userName@updateUser"> <boundAttribute name="onClick"> <concat> javascript:openWindow(window, '<dataObject select="dasSearchUrl" source="updateUser"/>', 'lovWindow', {width:600,height:600}, false, 'dialog', doSelectUser);return false; </concat> </boundAttribute> </messageLovField> <messageTextInput name="emailAddress" data:prompt="EMAIL_ADDRESS@ResourceBundle" data:shortDesc="EMAIL_ADDRESS@ResourceBundle" required="no" rows="1" columns="70" data:text="emailAddress@updateUser"> </messageTextInput> <messageCheckBox name="isSuper" data:text="ACCESS_ALL@ResourceBundle" data:shortDesc="ACCESS_ALL@ResourceBundle" value="true" checked="false" data:checked="isSuper@updateUser"/> </contents> </labeledFieldLayout> </case> </switcher> </contents> </stackLayout> </case> <case name="edit"> <stackLayout> <contents> <switcher data:childName="authType@updateUser" defaultCase="oms"> <case name="oms"> <labeledFieldLayout fieldWidth="100%" labelWidth="0%"> <contents> <formElement name="userName"/> <switcher data:childName="isEmbeddedDB@updateUser"> <case name="false"> <messageTextInput name="userPassword" data:prompt="PASSWORD@ResourceBundle" data:shortDesc="PASSWORD@ResourceBundle" required="no" rows="1" columns="40" secret="true" noAutoComplete="true" data:text="SPLATS@ResourceBundle"> </messageTextInput> <messageTextInput name="verifyPassword" data:prompt="CONFIRM_PASSWORD@ResourceBundle" data:shortDesc="CONFIRM_PASSWORD@ResourceBundle" required="no" rows="1" columns="40" secret="true" noAutoComplete="true" data:text="SPLATS@ResourceBundle"> </messageTextInput> </case> </switcher> <messageTextInput name="emailAddress" data:prompt="EMAIL_ADDRESS@ResourceBundle" data:shortDesc="EMAIL_ADDRESS@ResourceBundle" required="no" rows="1" columns="70" data:text="emailAddress@updateUser"> </messageTextInput> <switcher data:childName="isEmbeddedDB@updateUser"> <case name="true"> <messageChoice name="dbUserPriv" data:selectedValue="dbUserPriv@updateUser" data:prompt="USER_PRIVILEGE@ResourceBundle" data:shortDesc="USER_PRIVILEGE_DESC@ResourceBundle" > <contents data:childData="userPrivsValues@userPrivsNames"> <option data:text="NLS_TEXT" data:value="INTERNAL_TEXT_KEY"/> </contents> </messageChoice> </case> <case name="false"> <messageCheckBox name="isSuper" data:text="ACCESS_ALL@ResourceBundle" data:shortDesc="ACCESS_ALL@ResourceBundle" value="true" checked="false" data:checked="isSuper@updateUser"/> </case> </switcher> <switcher data:childName="isEmbeddedDB@updateUser"> <case name="true"> <messageCheckBox name="grantSelectCatalog" data:text="GRANT_SELECT_CATALOG_ROLE@ResourceBundle" data:shortDesc="GRANT_SELECT_CATALOG_ROLE@ResourceBundle" value="true" checked="true" data:checked="grantSelectCatalog@updateUser"/> </case> </switcher> </contents> </labeledFieldLayout> </case> <case name="sso"> <labeledFieldLayout fieldWidth="100%" labelWidth="0%"> <contents> <messageTextInput name="emailAddress" data:prompt="EMAIL_ADDRESS@ResourceBundle" data:shortDesc="EMAIL_ADDRESS@ResourceBundle" required="no" rows="1" columns="70" data:text="emailAddress@updateUser"> </messageTextInput> <messageCheckBox name="isSuper" data:text="ACCESS_ALL@ResourceBundle" data:shortDesc="ACCESS_ALL@ResourceBundle" value="true" checked="false" data:checked="isSuper@updateUser"/> <spacer height="20"/> <tip> <contents> <styledText data:text="PASSWORD_IN_DIRECTORY@ResourceBundle"/> </contents> </tip> </contents> </labeledFieldLayout> </case> <case name="euser"> <labeledFieldLayout fieldWidth="100%" labelWidth="0%"> <contents> <messageTextInput name="emailAddress" data:prompt="EMAIL_ADDRESS@ResourceBundle" data:shortDesc="EMAIL_ADDRESS@ResourceBundle" required="no" rows="1" columns="70" data:text="emailAddress@updateUser"> </messageTextInput> <messageCheckBox name="isSuper" data:text="ACCESS_ALL@ResourceBundle" data:shortDesc="ACCESS_ALL@ResourceBundle" value="true" checked="false" data:checked="isSuper@updateUser"/> <spacer height="20"/> <tip> <contents> <styledText data:text="PASSWORD_IN_DIRECTORY@ResourceBundle"/> </contents> </tip> </contents> </labeledFieldLayout> </case> </switcher> </contents> </stackLayout> </case> </switcher> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> </contents> </stackLayout> </contents> </pageLayout> </contents> </form> </contents> </dataScope> </contents> </body> </baja:content> <baja:handlers> <event name="null"> <method class="oracle.sysman.eml.admin.rep.UserData" method="doNull" /> </event> <event name="doLoad"> <method class="oracle.sysman.eml.admin.rep.UserData" method="doLoad"/> </event> <event name="finish"> <method class="oracle.sysman.eml.admin.rep.UserData" method="finish"/> </event> <event name="dofinish"> <method class="oracle.sysman.eml.admin.rep.UserData" method="doFinish"/> </event> <event name="goto"> <method class="oracle.sysman.eml.admin.rep.UserData" method="doGoTo"/> </event> </baja:handlers> </page>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de