Edit D:\app\Administrator\product\11.2.0\dbhome_1\j2ee\OC4J_EM\applications\em\em\ecm\patch\patchWiz_Patch.uix
<!-- * Copyright (c) 2001, 2006, Oracle. All rights reserved. * * NAME * patchWiz_Patch.uix * * NOTES * Table displaying single-select list of patches for the Patch Wizard * * MODIFIED (MM/DD/YY) VERSION * svengali 10/30/06 - Adding string for Select Patch page * somukher 07/01/05 - Bug 4442864 * abhalla 06/19/05 - bug fix 4357164 * pdasika 03/04/05 - * apbharga 12/16/04 - correcting parsing error * kchiasso 01/28/04 - bugfix 3244190;3223565 * kchiasso 11/20/03 - partialpage * kchiasso 11/11/03 - rb string * kchiasso 10/04/03 - title * kchiasso 10/02/03 - bugfix 3141743 * kchiasso 09/11/03 - rmv method getSeqInfo * kchiasso 09/04/03 - * kchiasso 07/24/03 - * kchiasso 07/10/03 - bugfix 2966548 * mgoodric 05/21/03 - Handle ?event=createNew * kchiasso 10/02/02 - ADA compliant * kchiasso 09/26/02 - Post-noExpire * kchiasso 09/18/02 - fix 2562794 * mgoodric 09/10/02 - Fix Patch wizard selection * kchiasso 05/30/02 - root url * kchiasso 04/23/02 - bugfix 2150967 * kchiasso 03/05/02 - jobs table * kchiasso 02/27/02 - uiReq * kchiasso 02/22/02 - lovFilter * kchiasso 02/19/02 - bugfxs * kchiasso 02/13/02 - target centric UI * kchiasso 02/08/02 - hostName;cleanup * kchiasso 02/06/02 - bugfix * kchiasso 02/04/02 - config;stageResults; * kchiasso 01/23/02 - stage patch * kchiasso 01/08/02 - lookup URL in .xml * kchiasso 12/20/01 - wizard redo * kchiasso 12/01/01 - redesign * mgoodric 06/06/01 - Updates for ECM Patching demo * * @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> <head xmlns="http://xmlns.oracle.com/uix/ui" uix: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"> <body onLoad="gotoResults();"> <contents> <dataScope> <contents> <script> <contents> function delimitSpaceToCaret(chkStr) { var newStr = ""; var cmpStr = ""; var space = " "; var caret = "^"; strBegLoc = 0; spcLoc = chkStr.indexOf(space); while ( spcLoc > -1) { newStr = newStr+chkStr.substr(strBegLoc,spcLoc)+caret; cmpStr = chkStr.substr(strBegLoc+spcLoc+1); spcLoc = cmpStr.indexOf(space); strBegLoc = newStr.length; } // add the last chunk if (cmpStr.length > 0) newStr = newStr+cmpStr; if (newStr.length > 0) return newStr; else return chkStr; } // When user changes family, the product and release 'may' be invalid for this selection. // Set product and release to 'any' so that search will succeed. function setFamily() { var parentRef = document.patchWiz_Patch.product_family; if (parentRef!=(void 0)) { // parentVal = parentRef.options[parentRef.selectedIndex].value; // parentText = parentRef.options[parentRef.selectedIndex].text; // set product and family to any document.patchWiz_Patch.productLov.value="any"; document.patchWiz_Patch.releaseLov.value="any"; var clear = ""; // clear the currently selected release and product fields document.patchWiz_Patch.productId.value=clear; document.patchWiz_Patch.releaseId.value=clear; } } function isProductSelected() { var productName = document.patchWiz_Patch.productLov.value; var res = ((productName == null) || (productName.length == 0)); if ( res ) { document.patchWiz_Patch.productLov.value = "any" } return true; } function isReleaseSelected() { var releaseName = document.patchWiz_Patch.releaseLov.value; var res = ((releaseName == null) || (releaseName.length == 0)); if ( res ) { document.patchWiz_Patch.releaseLov.value = "any" } return true; } function checkSelected() { isProductSelected(); isReleaseSelected(); return true; } function setProductRedirValue() { var parentRef = document.patchWiz_Patch.product_family; var familyId = parentRef.options[parentRef.selectedIndex].value; var familyName = parentRef.options[parentRef.selectedIndex].text; var productName = document.patchWiz_Patch.productLov.value; var contextpath = document.patchWiz_Patch.contextPath.value; var path = contextpath + "ecm/patch/productListLov"; var params = "$familyId="+familyId+"$familyName="+familyName+"$productName="+productName var imagepath = document.patchWiz_Patch.imagePath.value; var redir = imagepath + "cabo/jsps/frameRedirect.jsp?redirect="+path+delimitSpaceToCaret(params); // set hidden param to use in openWindow document.patchWiz_Patch.productRedir.value=redir; document.patchWiz_Patch.productName.value=productName; } function setReleaseRedirValue() { var parentRef = document.patchWiz_Patch.product_family; var familyId = parentRef.options[parentRef.selectedIndex].value; var familyName = parentRef.options[parentRef.selectedIndex].text; var productId = document.patchWiz_Patch.productId.value; var productName = document.patchWiz_Patch.productLov.value; var releaseName = document.patchWiz_Patch.releaseLov.value; res = isProductSelected(); if ( res ) { var contextpath = document.patchWiz_Patch.contextPath.value; var path = contextpath + "ecm/patch/releaseListLov"; var params = "$familyId="+familyId+"$productId="+productId+"$productName="+productName+"$releaseName="+releaseName; var imagepath = document.patchWiz_Patch.imagePath.value; var redir = imagepath + "cabo/jsps/frameRedirect.jsp?redirect="+path+delimitSpaceToCaret(params); // set hidden param to use in openWindow document.patchWiz_Patch.releaseRedir.value=redir; document.patchWiz_Patch.releaseName.value=releaseName; } } function productListCallBack(lovwin, event) { // needed to save both the productName for display and the productId // for lookup var text = lovwin.productName; var value = lovwin.productId; if (text!=(void 0)) { document.patchWiz_Patch.productLov.value = text; // value used to lookup ARU patch document.patchWiz_Patch.productId.value = value; /* var clear=""; // clear the currently selected release document.patchWiz_Patch.releaseId.value=clear; if (document.patchWiz_Patch.releaseLov.value != "any") { document.patchWiz_Patch.releaseLov.value=clear; } */ } } function releaseListCallBack(lovwin, event) { // needed to save both the productName for display and the productId // for lookup var text = lovwin.releaseName; var value = lovwin.releaseId; if (text!=(void 0)) { document.patchWiz_Patch.releaseLov.value = lovwin.releaseName; // value used to lookup ARU patch document.patchWiz_Patch.releaseId.value = lovwin.releaseId; } } // if we are displaying results, jump to results anchor function gotoResults() { var i; if (document.patchWiz_Patch.anchor.value == "displayResults") { document.location.href='#RESULTS'; } else { with(document.patchWiz_Patch) { i=0; while (i != elements.length-1) { if (elements[i].type == "text" || elements[i].type == "select-one") { elements[i].focus; elements[i].select; break; } i++; } } } } // clear out the previous selections function clearParams() { with(document.patchWiz_Patch) { // alert ("SearchType "+searchType.value); if (searchType.value == "advanced") { productId.value = ""; productLov.value = "any"; releaseId.value= "-1"; releaseLov.value= "any"; language.value = "-1"; // any since.value= ""; until.value= ""; // override with defaults product_family.value = defFamilyId.value; platform.value = defPlatformId.value; } else { bugNo.value= ""; platform.value= ""; language.value = "-1"; /*releaseId.value= "-1"; release.value = "any"; productId.value= "";*/ // override with default platform.value = defPlatformId.value; } } } </contents> </script> <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> <form name="patchWiz_Patch" > <contents> <formValue name="returnURL" uix:value="returnURL@getReturnUrl"/> <formValue id="dep1" name="blockStart" uix:value="blockStart@patchList"/> <formValue name="anchor" uix:value="anchor@patchList"/> <formValue name="searchType" uix:value="searchType@getSearchType"/> <formValue name="defFamilyId" uix:value="defFamilyId@getDefTargetType"/> <formValue name="defPlatformId" uix:value="defPlatformId@getDefTargetType"/> <formValue name="init" /> <!-- We need to preserve the following two id values - They are saved in the pwo on Search, and reloaded after results are populated. The LOV simply preserves the text, not the id's. We need the id's to do the lookup. --> <formValue name="productId" uix:value="productId@searchData"/> <formValue name="releaseId" uix:value="releaseId@searchData"/> <formValue name="contextPath" uix:value="contextPath@getContextPath"/> <formValue name="imagePath" uix:value="imagePath@getImagePath"/> <!-- The remaining ids are maintained for redirection. We need to pass any partially defined productName or releaseName to the LOV popup --> <formValue name="productName"/> <formValue name="productRedir"/> <formValue name="releaseName"/> <formValue name="releaseRedir"/> <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> <!-- <privacy> <link text="Privacy Statement" destination="http://www.oracle.com/html/index.html?privacy.html"/> </privacy> --> <contents> <messageBox automatic="true" /> <!-- credentials not set --> <switcher uix:childName="configError@configStatus"> <case name="true"> <messageBox messageType="warning" data:message="configMsg@configStatus"> <contents> <flowLayout> <contents> <link uix:text="CONFIG_PATCHSETUP@ResourceBundle" uix:destination="configDest@configStatus" /> </contents> </flowLayout> </contents> </messageBox> </case> </switcher> <!-- make sure valid patch data --> <switcher uix:childName="status@patchList" childName="success"> <case name="failure"> <messageBox automatic="false" uix:text="errHdr@patchList" uix:message="errMsg@patchList" messageType="error" /> </case> <case name="success"> <stackLayout> <contents> <rowLayout> <contents> <html:p> <html:font face="Arial,Helvetica,Geneva,sans-serif" size="2" color="#000000"> <rawText uix:text="PW_HDRLOOKUP@ResourceBundle" /> <rawText uix:text="dPLink@getDPLink" /> </html:font> </html:p> </contents> </rowLayout> <rowLayout> <contents> <spacer height="5"/> </contents> </rowLayout> <!-- <rowLayout> <contents> <html:p> <html:font face="Arial,Helvetica,Geneva,sans-serif" size="2" color="#000000"> <rawText uix:text="noInternetConn@getSearchType" /> </html:font> </html:p> </contents> </rowLayout> --> <spacer height="1"/> <stackLayout> <contents> <switcher marlin:childName="searchType@getSearchType"> <case name="simple"> <header uix:text="PW_SIMPLESEARCH@ResourceBundle"> <contents> <tableLayout width="100%"> <contents> <rowLayout> <contents> <cellFormat hAlign="right"> <contents> <button uix:text="PW_ADVSEARCH@ResourceBundle" destination="patchWiz_Patch$searchType=advanced" rendered="true" unvalidated="true" /> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> <tableLayout width="50%" > <contents> <!-- include all the enabled search attributes --> <include baja:node="simpleSearchContent"/> </contents> </tableLayout> </contents> </header> </case> <case name="advanced"> <header uix:text="PW_ADVSEARCH@ResourceBundle"> <contents> <tableLayout width="100%"> <contents> <rowLayout> <contents> <cellFormat hAlign="right"> <contents> <button uix:text="PW_SIMPLESEARCH@ResourceBundle" destination="patchWiz_Patch$searchType=simple" rendered="true" unvalidated="true" /> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> <tableLayout width="50%" > <contents> <!-- include all the enabled search attributes --> <include baja:node="advancedSearchContent"/> </contents> </tableLayout> </contents> </header> </case> </switcher> </contents> </stackLayout> <tableLayout width="45%" > <contents> <spacer height="5"/> <rowLayout hAlign="right"> <contents> <cellFormat wrappingDisabled="true"> <contents> <switcher marlin:childName="searchType@getSearchType"> <case name="simple"> <submitButton name="event" value="doSearch" uix:text="BTN_SEARCH@ResourceBundle"/> </case> <case name="advanced"> <submitButton onClick="javascript:checkSelected();" name="event" value="doSearch" uix:text="BTN_SEARCH@ResourceBundle"/> </case> </switcher> <spacer width="8"/> <button uix:text="BTN_CLEAR@ResourceBundle" onClick="clearParams();" /> <spacer width="8"/> <html:noScript> JavaScript is not supported by your browser. Oracle requires JavaScript support to completely render this page </html:noScript> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> <stackLayout> <contents> <link id="RESULTS" name="RESULTS"/> <header uix:text="PW_SEARCHRESULTS@ResourceBundle"> <contents> <stackLayout> <contents> <!-- include the patch depot table --> <include baja:node="patchResultsTable"/> </contents> </stackLayout> </contents> </header> </contents> </stackLayout> </contents> </stackLayout> </case> </switcher> </contents> </pageLayout> </contents> </form> </contents> <provider> <data name="configStatus"> <method class="oracle.sysman.eml.ecm.util.EcmSessionUtil" method="getConfigStatus"/> </data> <data name="getReturnUrl"> <method class="oracle.sysman.eml.ecm.patch.PatchData" method="returnCaller"/> </data> <data name="searchData"> <method class="oracle.sysman.eml.ecm.patch.PatchSearchData" method="populateSearchAdvanced"/> </data> <data name="ResourceBundle"> <bundle class = "oracle.sysman.eml.ecm.patch.util.PatchResourceBundle"/> </data> <data name="navStep"> <method class="oracle.sysman.eml.ecm.patch.PatchData" method="getWizardStep"/> </data> <data name="getSearchType"> <method class="oracle.sysman.eml.ecm.patch.PatchSearchData" method="getSearchType"/> </data> <data name="getDPLink"> <method class="oracle.sysman.eml.ecm.patch.PatchSearchData" method="getDPLink"/> </data> <data name="getDefTargetType"> <method class="oracle.sysman.eml.ecm.patch.PatchSearchData" method="getDefTargetType"/> </data> <data xmlns="http://bali.us.oracle.com/cabo/marlin" name="patchList"> <method class="oracle.sysman.eml.ecm.patch.PatchSearchData" method="populateResultsTable"/> </data> <data name="getHeaderTitle"> <method class="oracle.sysman.eml.ecm.patch.PatchData" method="getPageTitle"/> </data> <data name="getContextPath"> <method class="oracle.sysman.eml.ecm.ContextPathData" method="getContextPath"/> </data> <data name="getImagePath"> <method class="oracle.sysman.eml.ecm.ContextPathData" method="getImagePath"/> </data> </provider> </dataScope> </contents> </body> </baja:content> <handlers> <event name="doSearch"> <method class="oracle.sysman.eml.ecm.patch.PatchSearchHandler" method="doSearch"/> </event> <!-- This handles the next/prev buttons in the results table --> <event name="goto" source="resultsTable"> <method class="oracle.sysman.eml.ecm.patch.PatchSearchHandler" method="tableGoto"/> </event> <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="viewARUReadme"> <method class="oracle.sysman.eml.ecm.patch.ReadmeServlet" method="calldoPost"/> </event> <event name="viewDetails"> <method class="oracle.sysman.eml.ecm.patch.PatchCriteriaHandler" method="viewDetails"/> </event> <!-- This handles the Go button from the Job page --> <event name="createNew"> <method class="oracle.sysman.eml.ecm.patch.PatchWizardHandler" method="createNew"/> </event> <event name="sort"> <method class="oracle.sysman.eml.ecm.patch.PatchSearchHandler" method="doSort"/> </event> </handlers> </page>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de