Edit D:\app\Administrator\product\11.2.0\dbhome_1\j2ee\OC4J_EM\applications\em\em\ecm\patch\patchWiz_Credentials.uix
<!-- * Copyright (c) 2001, 2005, Oracle. All rights reserved. * * NAME * patchWiz_Credentials.uix * * NOTES * Introduction page for the Patch Wizard * * MODIFIED (MM/DD/YY) VERSION * mningomb 08/26/05 - * somukher 06/29/05 - Bug - 4442864 * shgangul 06/02/05 - * spahuja 05/18/05 - making username passwd as noAutoComplete * pdasika 03/16/05 - * pdasika 02/20/05 - Changes for Preferred Credentials * kchiasso 10/10/03 - * kchiasso 09/24/03 - table blocking,sorting,showAll;title * kchiasso 07/10/03 - bugfix 2966548 * kchiasso 07/02/03 - bugfix 2693085 * kchiasso 10/02/02 - ADA compliant * kchiasso 09/26/02 - Post-noExpire * kchiasso 09/16/02 - post * kchiasso 09/12/02 - Patch Destionation handling * kchiasso 05/23/02 - footer * kchiasso 04/23/02 - bugfix 2150967 * kchiasso 03/05/02 - jobs table * kchiasso 02/27/02 - uiReq * kchiasso 02/19/02 - bugfxs * kchiasso 02/08/02 - hostName;cleanup * kchiasso 02/06/02 - bugfix * kchiasso 02/04/02 - config;stageResults; * kchiasso 01/25/02 - credentials * * @author kChiasson * --> <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:data="http://bali.us.oracle.com/cabo/marlin"> <baja:head xmlns="http://bali.us.oracle.com/cabo/marlin" xmlns:uix="http://bali.us.oracle.com/cabo/marlin" xmlns:html="http://www.w3.org/TR/REC-html40"> <html:meta content="max-age=0" http-equiv="Cache-Control"/> <dataScope> <contents> <html:noScript> JavaScript is not supported by your browser. Oracle requires JavaScript support to completely render this page </html:noScript> <head xmlns="http://xmlns.oracle.com/uix/ui" data:title="pageTitle@getPageTitle"/> </contents> <provider> <data name="getPageTitle"> <method class="oracle.sysman.eml.ecm.patch.PatchData" method="getPageTitle"/> </data> </provider> </dataScope> </baja:head> <!-- special handler to load help topic --> <handlers> <event name="null"> <method class="oracle.sysman.eml.ecm.OnlineHelp" method="loadPatchHelpTopic"/> </event> </handlers> <baja:content xmlns="http://bali.us.oracle.com/cabo/marlin"> <dataScope> <contents> <script language="JavaScript"> <contents> // id=rownum guarantees that we have the correct row selected function clearPassword(uname) { var val = uname.name; var indx = val.indexOf(":"); if (indx >=0) { val = val.substring(indx+1); indx = val.indexOf(":"); if (indx >=0) { var id = val.substring(indx+1); var currPW = "credentialsTable:password:"+id; // clear it document.patchWiz_Credentials[currPW].value = ""; document.patchWiz_Credentials[currPW].focus(); } } } function clearInput() { document.patchWiz_Credentials.passWord.value = ""; document.patchWiz_Credentials.passWord.focus(); } function myTableSelectAll() { lengthFieldName = "credentialsTable:length"; endVal = document.patchWiz_Credentials[lengthFieldName].value; i=0; while (i < endVal) { fieldName = "credentialsTable:saveCred:"+i; if (document.patchWiz_Credentials[fieldName]) document.patchWiz_Credentials[fieldName].checked = true; i++; } } function myTableSelectNone() { lengthFieldName = "credentialsTable:length"; endVal = document.patchWiz_Credentials[lengthFieldName].value; i=0; while (i < endVal) { fieldName = "credentialsTable:saveCred:"+i; if (document.patchWiz_Credentials[fieldName]) document.patchWiz_Credentials[fieldName].checked = false; i++; } } </contents> </script> <noScript>"" </noScript> <form name="patchWiz_Credentials" method="POST"> <contents> <html:noScript> JavaScript is not supported by your browser. Oracle requires JavaScript support to completely render this page </html:noScript> <pageLayout xmlns="http://bali.us.oracle.com/cabo/marlin" uix:title="pageHeader@getHeaderTitle"> <mediumAdvertisement> <include baja:node="../../oemBanner" /> </mediumAdvertisement> <globalButtons> <include baja:node="../../globalButtonBar" /> </globalButtons> <marlin:tabs> <include baja:node="../../globalTabs" /> </marlin:tabs> <marlin:pageHeader> <include baja:node="../../globalHeader" /> </marlin:pageHeader> <pageButtons> <include baja:node="patchWiz_Footer"/> </pageButtons> <location> <include baja:node="patchWiz_Train"/> </location> <copyright> <include baja:node="../../copyright"/> </copyright> <contents> <messageBox automatic="true" /> <switcher uix:childName="status@getShowTargets" childName="success"> <case name="failure"> <messageBox automatic="false" uix:text="errHdr@getShowTargets" uix:message="errMsg@getShowTargets" messageType="error" /> </case> <case name="success"> <switcher uix:childName="isAgentSharedHome@preferredFlags" childName="false"> <case name="true"> <stackLayout> <contents> <spacer height ="10"/> <rowLayout> <contents> <html:br></html:br> <html:p> <html:font face="Arial,Helvetica,Geneva,sans-serif" size="2" color="#000000"> <rawText uix:text="credMsg@getShowTargets"/> </html:font> </html:p> </contents> </rowLayout> <dataScope> <contents> <table name="credentialsTable" id="credId" width="100%" minValue="1" uix:columnHeaderData="columnHeaderData@targetList" uix:tableData="tableData@targetList" uix:maxValue="maxValue@targetList" uix:blockSize="blockSize@targetList" uix:value="value@targetList" uix:summary="TBLSUM_CREDENTIALSTABLE@ResourceBundle" formSubmitted="true" showAll="yes" proxied="true"> <footer> <tableFooter> <contents> <rowLayout hAlign="right"> <contents> <link uix:text="PW_SELECTALL@ResourceBundle" destination = "javascript:myTableSelectAll()"/> <spacer width="20"/> <link uix:text="PW_SELECTNONE@ResourceBundle" destination = "javascript:myTableSelectNone()"/> </contents> </rowLayout> </contents> </tableFooter> </footer> <tableFormat tableBanding="rowBanding" /> <columnHeaderStamp> <sortableHeader uix:text="columnHeaderText" uix:value="value" uix:sortable="sort"> <boundAttribute name="sortable"> <defaulting> <dataObject uix:source="(value)@sortColumnHeader" /> <dataObject select="sort" /> </defaulting> </boundAttribute> </sortableHeader> </columnHeaderStamp> <columnHeaderData> <col id="home" sort="no" value="targetHome" uix:columnHeaderText="destLoc@getShowTargets" /> <col id="hostname" sort="no" value="targetHost" uix:columnHeaderText="SUM_HOSTNAME@ResourceBundle" /> <col id="targetname" sort="no" value="targetName" uix:columnHeaderText="PW_COLHDR_TARGET@ResourceBundle" /> <col id="username" sort="no" value="username" uix:columnHeaderText="HDR_USERNAME@ResourceBundle" /> <col id="password" sort="no" value="password" uix:columnHeaderText="HDR_PASSWORD@ResourceBundle" /> <col id="saveCred" sort="no" value="saveCred" uix:columnHeaderText="PW_SAVECREDS@ResourceBundle" /> <col id="hidden" /> </columnHeaderData> <contents> <link headers="home" name="homeLink" uix:text="targetHome" uix:destination="homeDest" /> <link headers="hostname" name="hostLink" uix:text="targetHost" uix:destination="hostDest" /> <dataScope uix:rendered="showTargets@getShowTargets"> <contents> <styledText headers="targetname" name="targetsName" uix:text="targetsName" /> </contents> </dataScope> <dataScope rendered="true"> <contents> <textInput headers="username" uix:text="username" name="username" columns="25" noAutoComplete="true" uix:id="usernameIdx" onChange="javascript:clearPassword(this);" uix:shortDesc="HDR_USERNAME@ResourceBundle" /> </contents> </dataScope> <dataScope rendered="true"> <contents> <textInput headers="password" uix:text="password" name="password" columns="25" id="password" noAutoComplete="true" uix:shortDesc="HDR_PASSWORD@ResourceBundle" secret="true" /> </contents> </dataScope> <dataScope rendered="true"> <contents> <spacer width="20"/> <checkBox name="saveCred" value="true" uix:shortDesc="SD_SAVE_CRED@ResourceBundle" uix:checked="saveCred"/> </contents> </dataScope> <formValue headers="hidden" name="targetName" uix:value="targetName" /> <formValue headers="hidden" name="targetHost" uix:value="targetHost" /> <formValue headers="hidden" name="targetHome" uix:value="targetHome" /> </contents> </table> <tip> <contents> <styledText uix:text="MSG_SAVEPREFCREDS@ResourceBundle" styleClass="OraHeaderSubSub"/> </contents> </tip> </contents> <provider> <data name="targetList"> <method class="oracle.sysman.eml.ecm.patch.PatchData" method="populateAgentMasterHomeTable" /> </data> </provider> </dataScope> </contents> </stackLayout> </case> <case name="false"> <stackLayout> <contents> <rowLayout> <contents> <html:br></html:br> <html:p> <html:font face="Arial,Helvetica,Geneva,sans-serif" size="2" color="#000000"> <rawText uix:text="credMsg@getShowTargets"/> </html:font> </html:p> </contents> </rowLayout> <spacer height="20"/> <tableLayout> <contents> <rowLayout> <contents> <cellFormat> <contents> <messageRadioButton uix:text="PW_EXPLCREDS@ResourceBundle" name="SEL_CREDS_TYPE" uix:selected="isOverride@preferredFlags" value="2" onClick="submitForm('patchWiz_Credentials', true, {'event':'preferredFlagChanged'})"/> </contents> </cellFormat> <spacer width ="40"/> <cellFormat> <contents> <messageRadioButton uix:text="PW_PREFCREDS@ResourceBundle" name="SEL_CREDS_TYPE" uix:selected="isPreferred@preferredFlags" value="1" onClick="submitForm('patchWiz_Credentials', true, {'event':'preferredFlagChanged'})"/> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> <switcher uix:childName="isPreferred@preferredFlags"> <case name="true"> <stackLayout> <contents> <dataScope> <contents> <table name="credentialsTable" id="prefCred" width="100%" minValue="1" uix:columnHeaderData="columnHeaderData@prefTargetList" uix:tableData="tableData@prefTargetList" uix:maxValue="maxValue@prefTargetList" uix:blockSize="blockSize@prefTargetList" uix:value="value@prefTargetList" uix:summary="TBLSUM_CREDENTIALSTABLE@ResourceBundle" formSubmitted="true" showAll="yes" proxied="true"> <tableFormat tableBanding="rowBanding"/> <columnHeaderStamp> <sortableHeader uix:text="columnHeaderText" uix:value="value" uix:sortable="sort"> <boundAttribute name="sortable"> <defaulting> <dataObject uix:source="(value)@sortColumnHeader"/> <dataObject select="sort"/> </defaulting> </boundAttribute> </sortableHeader> </columnHeaderStamp> <columnHeaderData> <col id="home" sort="yes" value="targetHome" uix:columnHeaderText="destLoc@getShowTargets"/> <col id="hostname" sort="yes" value="targetHost" uix:columnHeaderText="SUM_HOSTNAME@ResourceBundle"/> <col id="targetname" sort="yes" value="targetName" uix:columnHeaderText="PW_COLHDR_TARGET@ResourceBundle"/> <col id="username" sort="no" value="username" uix:columnHeaderText="HDR_USERNAME@ResourceBundle" /> <col id="password" sort="no" value="password" uix:columnHeaderText="HDR_PASSWORD@ResourceBundle"/> <col id="hidden" /> </columnHeaderData> <contents> <link headers="home" name="homeLink" uix:text="targetHome" uix:destination="homeDest"/> <link headers="hostname" name="hostLink" uix:text="targetHost" uix:destination="hostDest"/> <dataScope uix:rendered="showTargets@getShowTargets"> <contents> <styledText headers="targetname" name="targetsName" uix:text="targetsName"/> </contents> </dataScope> <dataScope rendered="true"> <contents> <text headers="username" uix:text="username" id="password" name="username" uix:shortDesc="HDR_USERNAME@ResourceBundle"/> </contents> </dataScope> <dataScope rendered="true"> <contents> <text headers="password" uix:text="password" name="password" id="password" uix:shortDesc="HDR_PASSWORD@ResourceBundle" secret="true"/> </contents> </dataScope> <formValue headers="hidden" name="targetName" uix:value="targetName" /> <formValue headers="hidden" name="targetHost" uix:value="targetHost" /> <formValue headers="hidden" name="targetHome" uix:value="targetHome" /> </contents> </table> </contents> <provider> <data name="prefTargetList"> <method class="oracle.sysman.eml.ecm.patch.PatchData" method="populateReadOnlyCredentialsTable"/> </data> </provider> </dataScope> </contents> </stackLayout> </case> <case name="false"> <stackLayout> <contents> <messageChoice name="SEL_HOME_CREDS_TYPE" uix:prompt="PW_OVERRIDEFOR@ResourceBundle" onChange="submitForm('patchWiz_Credentials', true, {'event':'preferredFlagChanged'})"> <contents> <option uix:text="PW_ALL_HOMES@ResourceBundle" uix:selected="isAll@preferredFlags" value="3"/> <option uix:text="PW_EACH_HOME@ResourceBundle" uix:selected="isEach@preferredFlags" value="2"/> </contents> </messageChoice> <spacer height="20"/> <switcher uix:childName="isAll@preferredFlags"> <case name="true"> <stackLayout> <contents> <tableLayout> <contents> <rowLayout hAlign="right"> <contents> <messageTextInput columns="25" name="userName" uix:text="uname@preferredFlags" uix:prompt="HDR_USERNAME@ResourceBundle" maximumLength="255" onChange="javascript:clearInput();" noAutoComplete="true" required="uiOnly"/> </contents> </rowLayout> <rowLayout hAlign="right"> <contents> <messageTextInput columns="25" name="passWord" uix:text="pwd@preferredFlags" uix:prompt="HDR_PASSWORD@ResourceBundle" maximumLength="255" secret="true" noAutoComplete="true" required="uiOnly"/> </contents> </rowLayout> </contents> </tableLayout> </contents> </stackLayout> </case> <case name="false"> <stackLayout> <contents> <dataScope> <contents> <separator/> <table name="credentialsTable" id="credId" width="100%" minValue="1" uix:columnHeaderData="columnHeaderData@targetList" uix:tableData="tableData@targetList" uix:maxValue="maxValue@targetList" uix:blockSize="blockSize@targetList" uix:value="value@targetList" uix:summary="TBLSUM_CREDENTIALSTABLE@ResourceBundle" formSubmitted="true" showAll="yes"> proxied="true"> <footer> <tableFooter> <contents> <rowLayout hAlign="right"> <contents> <link uix:text="PW_SELECTALL@ResourceBundle" destination = "javascript:myTableSelectAll()"/> <spacer width="20"/> <link uix:text="PW_SELECTNONE@ResourceBundle" destination = "javascript:myTableSelectNone()"/> </contents> </rowLayout> </contents> </tableFooter> </footer> <tableFormat tableBanding="rowBanding"/> <columnHeaderStamp> <sortableHeader uix:text="columnHeaderText" uix:value="value" uix:sortable="sort"> <boundAttribute name="sortable"> <defaulting> <dataObject uix:source="(value)@sortColumnHeader"/> <dataObject select="sort"/> </defaulting> </boundAttribute> </sortableHeader> </columnHeaderStamp> <columnHeaderData> <col id="home" sort="yes" value="targetHome" uix:columnHeaderText="destLoc@getShowTargets"/> <col id="hostname" sort="yes" value="targetHost" uix:columnHeaderText="SUM_HOSTNAME@ResourceBundle"/> <col id="targetname" sort="yes" value="targetName" uix:columnHeaderText="PW_COLHDR_TARGET@ResourceBundle"/> <col id="username" sort="no" value="username" uix:columnHeaderText="HDR_USERNAME@ResourceBundle" /> <col id="password" sort="no" value="password" uix:columnHeaderText="HDR_PASSWORD@ResourceBundle"/> <col id="saveCred" sort="no" value="saveCred" uix:columnHeaderText="PW_SAVECREDS@ResourceBundle"/> <col id="hidden" /> </columnHeaderData> <contents> <link headers="home" name="homeLink" uix:text="targetHome" uix:destination="homeDest"/> <link headers="hostname" name="hostLink" uix:text="targetHost" uix:destination="hostDest"/> <dataScope headers="targetname" uix:rendered="showTargets@getShowTargets"> <contents> <styledText headers="targetname" name="targetsName" uix:text="targetsName"/> </contents> </dataScope> <dataScope headers="username" rendered="true"> <contents> <textInput headers="username" uix:text="username" name="username" columns="25" noAutoComplete="true" uix:id="usernameIdx" onChange="javascript:clearPassword(this);" uix:shortDesc="HDR_USERNAME@ResourceBundle"/> </contents> </dataScope> <dataScope headers="password" rendered="true"> <contents> <textInput headers="password" uix:text="password" name="password" columns="25" id="password" noAutoComplete="true" uix:shortDesc="HDR_PASSWORD@ResourceBundle" secret="true"/> </contents> </dataScope> <dataScope headers="saveCred" rendered="true"> <contents> <spacer width="20"/> <checkBox headers="saveCred" name="saveCred" value="true" uix:shortDesc="SD_SAVE_CRED@ResourceBundle" uix:checked="saveCred"/> </contents> </dataScope> <formValue headers="hidden" name="targetName" uix:value="targetName" /> <formValue headers="hidden" name="targetHost" uix:value="targetHost" /> <formValue headers="hidden" name="targetHome" uix:value="targetHome" /> </contents> </table> <separator/> <tip> <contents> <styledText uix:text="MSG_SAVEPREFCREDS@ResourceBundle" styleClass="OraHeaderSubSub"/> </contents> </tip> </contents> <provider> <data name="targetList"> <method class="oracle.sysman.eml.ecm.patch.PatchData" method="populateCredentialsTable"/> </data> </provider> </dataScope> </contents> </stackLayout> </case> </switcher> </contents> </stackLayout> </case> </switcher> </contents> </stackLayout> </case> </switcher> </case> </switcher> <spacer height="20"/> </contents> </pageLayout> </contents> </form> </contents> <provider> <data name="ResourceBundle"> <bundle class = "oracle.sysman.eml.ecm.patch.util.PatchResourceBundle"/> </data> <data name="getShowTargets"> <method class="oracle.sysman.eml.ecm.patch.PatchData" method="getShowTargets"/> </data> <data name="preferredFlags"> <method class="oracle.sysman.eml.ecm.patch.PatchData" method="isPrefCredentials"/> </data> <data name="selectFlags"> <method class="oracle.sysman.eml.ecm.patch.PatchData" method="getSelectFlag"/> </data> <data name="navStep"> <method class="oracle.sysman.eml.ecm.patch.PatchData" method="getWizardStep"/> </data> <data name="getHeaderTitle"> <method class="oracle.sysman.eml.ecm.patch.PatchData" method="getPageTitle"/> </data> <data name="sortColumnHeader"> <method class="oracle.sysman.eml.ecm.patch.PatchData" method="getSortColumnHeader"/> </data> </provider> </dataScope> </baja:content> <handlers> <!-- This handles the next/prev buttons in the results table --> <event name="goto" source="credentialsTable"> <method class="oracle.sysman.eml.ecm.patch.PatchWizardHandler" method ="tableGoto"/> </event> <event name="preferredFlagChanged"> <method class="oracle.sysman.eml.ecm.patch.PatchWizardHandler" method ="getPreferredFlag"/> </event> <!-- The goto event is generated when next/prev buttons are pushed for navigation --> <event name="goto" source="PatchNav"> <method class="oracle.sysman.eml.ecm.patch.PatchWizardHandler" method="stepNext"/> </event> <event name="cancel"> <method class="oracle.sysman.eml.ecm.patch.PatchWizardHandler" method="returnToCaller"/> </event> <event name="sort"> <method class="oracle.sysman.eml.ecm.patch.PatchWizardHandler" method="doSort"/> </event> </handlers> </page>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de