Bundle.txt

download Bundle.txt

If you can't read please download the document

Transcript of Bundle.txt

http://10.180.190.102:7700/usermap?language=ENGCustomer Modification-MarshP1.ITER3.3.27.2 V2.2.3.1. 3.3.27101F1-UI MAPCM_Abdul_TestF1 -UIMapPhysicalBOCM_Abdul_TestCM< /customizationOwner>F1FLabdullah function accountIDSelected(args) { if (args.length>0) { document.getElementById('accountID').value=args[0]; oraUnloadDocument(true); } } ]]> ]]>CM_Abdul_TestF1MPCM3abdullah5202F1-BUS SVCCM-GETZONEF1-BusinessServicePhysicalBO CM-GETZONECM FWLZDEXPRetrieve zo ne parameter information ]]>CM-GETZONEF1 BSCM1Retrieve zone parameter information1303CONTENT ZONECM_GIDSDEPTF 1-ZonePhysicalBOCM_GIDSDEPTCMF1-DFLTSACOL1F1-DE-SINGLE< version>1CM_GIDSDEPTCMACOL2F1-DE-SINGLE1CM_GIDSDEPTCM ASQLF1-DE-SINGLE< version>1CM_GIDSDEPTCMF1F1-DE-SINGLE1CM_GIDSDEPT< customizationOwner>CMlabel='EPM Department Code'F2F1-DE-SINGLE1CM_GIDSDE PTCMINIT IALDISPLAYF1-DE-SINGLE1CM_GIDSDEPTCMC1 C2F1-DE-SINGLEEPM Department SearchFULL1404F1-BUS SVCCM-SEARCH ZONEF1-BusinessServicePhysicalBOCM-SEARC HZONECMF WLZDEXPGeneric Search Zone Business Service ]]>CM-SEARCHZONEF1BSCM1Generic Search Zone Business Service1505F1-UI MAPCM-COMMONHTMLF1-UIMapPhysicalBOCM-COMMONHTMLCMF1FRCommon HTML Func tions //Hide the red cross in the corner if(window.name == 'uiMap'){ window.frameElement.previousSibling.previousSibling.style.display='none'; } var searchResultsTable; var hideResultColsArray; //If A User Hits Enter, it should only close the New Custom Search - 07-18-2012 window.document.onkeydown = function (e) { if (!e) e = event; if (e.keyCode == 27) searchWindowCancel(); } function ScrollableTable (tableEl, tableHeight, tableWidth) { this.initIEengine = function () { this.containerEl.style.overflowY = 'auto'; if (this.tableEl.parentElement.clientHeight - this.tableEl.offsetHeight >= 0) { this.containerEl.style.overflowY = 'hidden'; } if (this.thead) { var trs = this.thead.getElementsByTagName('tr'); for (x=0; x XoffsetWidth) XoffsetWidth=document.body .scrollWidth; SDB.style.left=0; SDB.style.width=XoffsetWidth; var xwidth=document.body.offsetWidth * 0.6; if (xwidth document.body.offsetHeight) calctop=0; else calct op=document.body.offsetHeight - SDF.offsetHeight; // SDF.style.top=calctop / 2; //Bug-577 SDF.style.top = SDF.offsetParent.scrollTop; SDB.style.height=XoffsetHeight - 4; if (SDF.offsetWidth > document.body.offsetWidth) calcleft=0; else calcle ft=document.body.offsetWidth - SDF.offsetWidth; SDF.style.left=calcleft / 2; } } function getQueryVariable(query,variable) { var vars = query.split("\n"); tVariable=variable; for (var i=0;i 0) { var myArray = new Array(row.cells.length); for (x=0;x 1) SRTable.deleteRow(1); //Update 05-30-2012 - Start - Change to remove oraInvokeBS //var searchZoneCode=document.getElementById('searchZoneCode'); //searchZoneCode.value=searchZone; //oraUnloadDocument(true); //oraInvokeBS('CM-SEARCHZONE',searchZoneXML); //strXPath=searchZoneXML + '/results'; var searchZoneRequest = ''+searchZone+'';for(var i=1; i0) { for (x=0; x 0) { /* Process Window Title */ var searchWindowTitle=document.getElementById('searchWindowTitle'); //Update 05-30-2012 - Start- Change to remove oraInvokeBS //strXPath='CM-GETZONE/results[starts-with(zoneParmName,"TITLE")]'; //resultNodes = xmlData.documentElement.selectNodes(strXPath); strXPath='root/results[starts-with(zoneParmName,"TITLE")]';resultNodes = searchZoneResponse.selectNodes(strXPath); //Update 05-30-2012 - End- Change to remove oraInvokeBS if (resultNodes.length > 0) { zoneTitle=resultNodes[0].selectSingleNode('zoneParmVal').text; searchWindowTitle.innerHTML=zoneTitle; } var query; var filterPattern=/'/gi; var vars; /* Process filters */ searchField=searchZoneXML+'/zoneCd'; filterHTML='\n'; filterHTML=filterHTML+' \n'; filterHTML=filterHTML+'\n'; /* filterHTML=filterHTML+"\n"; */ filterHTML=filterHTML+'\n'; //strXPath='CM-GETZONE/results[starts-with(zoneParmName,"F")]'; //resultNodes = xmlData.documentElement.selectNodes(strXPath); strXPath='root/results[starts-with(zoneParmName,"F")]'; resultNodes = searchZoneResponse.selectNodes(strXPath); if (resultNodes.length > 6) squeezecols=true; else squeezecols=false; tropen=2; for (y=1; y 0 && resultNodes[0].selectSingleNode('zoneParmV al')) { query=resultNodes[0].selectSingleNode('zoneParmVal').text; /* divideVar=getQueryVariable(query,'divide'); if (divideVar=='above') filterHTML=filterHTML + '\n'; */ if (squeezecols) { if (tropen==2) { filterHTML=filterHTML + '\n'; tropen=1; } else tropen=2; } else filterHTML=filterHTML + '\n';filterHTML=filterHTML + ''; filterLabel=getQueryVariable(query,'label'); var sizeVar=256; var filterSize=getQueryVariable(query,'name'); if(filterSize!=null){ sizeVar=filterSize; } if (filterLabel) { if (filterLabel.indexOf("'") < 0) { displayLabel='"' + trim(filterLabel) + '"'; filterHTML=filterHTML + '\n'; } else { displayLabel=filterLabel.replace(filterPattern,""); filterHTML=filterHTML + '' + displayLabel + '\n'; } } searchField=searchZoneXML+'/'+filterNumber; //SPECAO - 05-30-2012 - Start - Add for Key Press Function searchZoneText="'" + searchZone + "'"; searchZoneXMLText="'" + searchZoneXML + "'"; selectFuncText="'" + selectFunc + "'"; //SPECAO - 05-30-2012 - End- Add for Key Press Function disableField=false; parmVal=''; if (args) if (args.length >= y ) {parmVal=args[y-1][0]; disableField =args[y-1][1];} if (!disableField) disableField=false; if (!parmVal) parmVal=''; if (disableField) disableText='disabled="disabled"'; else disableTex t=''; typeVal=getQueryVariable(query,'TYPE'); //SPECAO - 05-30-2012 - Start - Add for Key Press Function //inputField=''; inputField=''; //SPECAO - 05-30-2012 - End - Add for Key Press Function oraText='ora'; if (typeVal) { typeValUpper=trim(typeVal.toUpperCase()); if (typeValUpper == 'TABLE') {tableVal=getQueryVariable(query,'table'); if (tableVal) inputField=''; } else if (typeValUpper == 'CHARTYPE') { charTypeVal=getQueryVariable(query,'chartype'); if (charTypeVal) inputField=''; } else if (typeValUpper == 'LOOKUP') { lookupVal=getQueryVariable(query,'lookup'); if (lookupVal) inputField=''; } if (typeValUpper == 'DATE') { //inputField=''; inputField=''; } } filterHTML=filterHTML + '' + inputField + '\n'; filterHTML=filterHTML + '\n'; //searchZoneText="'" + searchZone + "'"; //searchZoneXMLText="'" + searchZoneXML + "'"; //selectFuncText="'" + selectFunc + "'"; hideResultColsArray = ignoreColsArray; filterHTML=filterHTML + '\n'; filterHTML=filterHTML + '\n'; if (tropen==2) filterHTML=filterHTML + '\n'; /* if (divideVar=='below') { if (tropen) filterHTML=filterHTML + '\n'; filterHTML=filterHTML + '\n'; } */ } else y=11; } filterHTML=filterHTML + ""; var searchFilter=document.getElementById('searchFilter'); searchFilter.innerHTML=filterHTML;//oraUnloadDocument(false); oraUnloadChildren(SDF, xmlData.documentElement); oraLoadChildren(SDF, xmlData.documentElement); /* Process results columns */ //strXPath='CM-GETZONE/results[starts-with(zoneParmName,"INITIALDISPLAY")]'; //resultNodes = xmlData.documentElement.selectNodes(strXPath); strXPath='root/results[starts-with(zoneParmName,"INITIALDISPLAY")]'; resultNodes = searchZoneResponse.selectNodes(strXPath); if (resultNodes.length > 0) { filterHTML=''; filterHTML=filterHTML+'\n\n'; initialDisplay=resultNodes[0].selectSingleNode('zoneParmVal').text; vars = initialDisplay.split(' '); for (var i=0;i 0 && resultNodes[0].selectSingleNode('zon eParmVal')) { query=resultNodes[0].selectSingleNode('zoneParmVal').text; filterLabel=getQueryVariable(query,'label'); if (filterLabel) { if (filterLabel.indexOf("'") < 0) { displayLabel='"' + filterLabel + '"'; filterHTML=filterHTML + ':\n'; }; else { displayLabel=filterLabel.replace(filterPattern,""); filterHTML=filterHTML + '' + displayLabel + '\n'; }; } else filterHTML=filterHTML + 'N/A\n'; } } filterHTML=filterHTML + ""; filterHTML=filterHTML + ""; var searchFilter=document.getElementById('searchResults'); searchFilter.innerHTML=filterHTML; //Hide the header field if requiredif(hideResultColsArray != null){ var thNodes = searchFilter.firstChild.firstChild.firstChild.childNod es; for(var cnt = 0; cnt sample searchWindowClose(); ]]>]]>CM-COMMONHTMLF1MPCM4Common HTML Functions37