Edit D:\app\Administrator\product\11.2.0\dbhome_1\j2ee\OC4J_EM\applications\em\em\ecm\patch\patchWiz_PatchTargetFirst.uix.obs
<!-- * Copyright (c) 2001 Oracle * * NAME * patchWiz_Patch.uix * * NOTES * Table displaying single-select list of patches for the Patch Wizard * * MODIFIED (MM/DD/YY) VERSION * kchiasso 02/08/02 - hostName;cleanup * 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 * kchiasso12/01/01 - redesign * mgoodri06/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"> <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> <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; // alert("with+"+newStr); if (newStr.length > 0) return newStr; else return chkStr; } function setFamily() { var parentVal = "-1"; var parentText = ""; var parentRef = document.patchWiz_Patch.product_family; // alert("setFamily "+parentRef); if (parentRef!=(void 0)) { parentVal = parentRef.options[parentRef.selectedIndex].value; parentText = parentRef.options[parentRef.selectedIndex].text; // alert ("do Clear"); var clear = ""; // visual display // clear the currently selected release and product fields document.patchWiz_Patch.productId.value=clear; document.patchWiz_Patch.releaseId.value=clear; document.patchWiz_Patch.productLov.value=clear; document.patchWiz_Patch.releaseLov.value=clear; } } function isFamilySelected() { var parentRef = document.patchWiz_Patch.product_family; var familyId = parentRef.options[parentRef.selectedIndex].value; var familyName = parentRef.options[parentRef.selectedIndex].text; // alert("familyId"+familyId); if (familyId == -1) { alert ("You must select a Product Family before choosing a Product."); document.patchWiz_Patch.product_family.focus; document.patchWiz_Patch.product_family.select; return false; } else { return true; } } function isProductSelected() { var productId = document.patchWiz_Patch.productId.value; var productName = document.patchWiz_Patch.productLov.value; // alert("productId"+productId); if ((productId == null) || (productId.length == 0)) { alert ("You must select a Product before choosing a Release."); document.patchWiz_Patch.productLov.focus; document.patchWiz_Patch.productLov.select; return false; } else { 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; // alert("familyId"+familyId); var path = "/console/ecm/patch/productListLov"; var params = "$familyId="+familyId+"$familyName="+familyName+"$productName="+productName var redir = "/cabo/jsps/frameRedirect.jsp?redirect="+path+delimitSpaceToCaret(params); // alert("redir"+redir); // 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; // alert("productId"+productId); if ((productId == null) || (productId.length == 0)) { alert ("You must select a product before choosing a release."); document.patchWiz_Patch.productLov.focus; document.patchWiz_Patch.productLov.select; return; } else { var path = "/console/ecm/patch/releaseListLov"; var params = "$familyId="+familyId+"$productId="+productId+"$productName="+productName+"$releaseName="+releaseName; var redir = "/cabo/jsps/frameRedirect.jsp?redirect="+path+delimitSpaceToCaret(params); // alert("redir"+redir); // 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; // alert(" callback productId"+value); // alert ("product"+value); 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; 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; // alert ("release"+value); 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() { // alert(document.patchWiz_Patch.anchor.value); // alert(location.search.lastIndexOf("displayResults")); // if (location.search.lastIndexOf("displayResults") > 0) if (document.patchWiz_Patch.anchor.value == "displayResults") { // alert("gotoResults"); document.location.href='#RESULTS'; } } </contents> </script> <form name="patchWiz_Patch" > <contents> <formValue name="FromURLHidden" uix:value="calledFrom@getInfo"/> <formValue name="blockStart" uix:value="blockStart@patchList"/> <formValue name="anchor" uix:value="anchor@patchList"/> <!-- 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"/> <!-- 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"/> <formValue name="targetReleaseName" uix:value="release@getSearchType"/> <formValue name="targetPlatformName" uix:value="platform@getSearchType"/> <pageLayout> <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> <location> <include baja:node="patchWiz_Train"/> </location> <contentFooter> <include baja:node="patchWiz_Footer"/> </contentFooter> <copyright><text data:text="COPYRIGHT@ResourceBundle" /></copyright> <privacy> <link text="Privacy Statement" destination="http://www.oracle.com/html/index.html?privacy.html"/> </privacy> <contents> <messageBox automatic="true" /> <!-- make sure valid patch data --> <switcher uix:childName="status@selPatch" childName="success"> <case name="failure"> <messageBox automatic="false" uix:text="errHdr@selPatch" uix:message="errMsg@selPatch" messageType="error" /> </case> <case name="success"> <stackLayout> <contents> <spacer height="5"/> <header uix:text="pageTitle@getPageTitle"> <contents> <!-- <rowLayout> <contents> <html:p> <html:font face="Arial,Helvetica,Geneva,sans-serif" size="2" color="#000000"> <rawText uix:text="PW_SELTARGETFIRST@ResourceBundle" /> </html:font> </html:p> </contents> </rowLayout> --> <rowLayout> <contents> <spacer height="6"/> </contents> </rowLayout> <tableLayout> <contents> <rowLayout> <contents> <cellFormat hAlign="right" wrappingDisabled="true"> <contents> <styledText styleClass="OraInstructionText" uix:text="PW_COLHDR_TARGETTYPE@ResourceBundle"/> </contents> </cellFormat> <spacer width="10"/> <styledText styleClass="OraDataText" uix:text="targetType@getSearchType"/> </contents> </rowLayout> <rowLayout> <contents> <cellFormat hAlign="right" wrappingDisabled="true"> <contents> <styledText styleClass="OraInstructionText" uix:text="PW_COLHDR_PLATFORM@ResourceBundle"/> </contents> </cellFormat> <spacer width="10"/> <styledText styleClass="OraDataText" uix:text="platform@getSearchType"/> </contents> </rowLayout> <rowLayout> <contents> <cellFormat hAlign="right" wrappingDisabled="true"> <contents> <styledText styleClass="OraInstructionText" uix:text="PW_COLHDR_RELEASE@ResourceBundle"/> </contents> </cellFormat> <spacer width="10"/> <styledText styleClass="OraDataText" uix:text="release@getSearchType"/> </contents> </rowLayout> <rowLayout> <contents> <cellFormat hAlign="right" wrappingDisabled="true"> <contents> <styledText styleClass="OraInstructionText" uix:text="PW_COLHDR_SELTARGET@ResourceBundle"/> </contents> </cellFormat> <spacer width="10"/> <styledText styleClass="OraDataText" uix:text="selTarget@getSearchType"/> </contents> </rowLayout> </contents> </tableLayout> <rowLayout> <contents> <spacer height="6"/> </contents> </rowLayout> <rowLayout> <contents> <styledText styleClass="OraInstructionText" uix:text="PW_HDRLOOKUP@ResourceBundle" /> </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_PatchTargetFirst$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="simpleTargetSearchContent"/> </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_PatchTargetFirst$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="advancedTargetSearchContent"/> </contents> </tableLayout> </contents> </header> </case> </switcher> </contents> </stackLayout> <tableLayout width="45%" > <contents> <spacer height="5"/> <rowLayout hAlign="right"> <contents> <cellFormat wrappingDisabled="true"> <contents> <submitButton name="event" value="doSearch" uix:text="BTN_SEARCH@ResourceBundle" onClick="gotoResults();"/> <spacer width="8"/> <submitButton uix:text="BTN_CLEAR@ResourceBundle" name="event" value="clearAttributes"/> <spacer width="8"/> </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> </header> </contents> </stackLayout> </case> </switcher> </contents> </pageLayout> </contents> </form> </contents> <provider> <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="selPatch"> <method class="oracle.sysman.eml.ecm.patch.PatchData" method="getSequenceInfo"/> </data> <data name="getSearchType"> <method class="oracle.sysman.eml.ecm.patch.PatchSearchData" method="getSearchType"/> </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="getPageTitle"> <method class="oracle.sysman.eml.ecm.patch.PatchData" method="getPageTitle"/> </data> <data name="getInfo"> <method class="oracle.sysman.eml.ecm.patch.PatchData" method="returnCaller"/> </data> </provider> </dataScope> </contents> </body> </baja:content> <handlers> <event name="clearAttributes"> <method class="oracle.sysman.eml.ecm.patch.PatchSearchHandler" method="clearAttributes"/> </event> <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> </handlers> </page>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de