_wp1.js 3.2 KB

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: irot
  3. // (C) Copyright IBM Corp. 2003, 2022.
  4. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. function _wp1(_vl7, _h27, _wu2, _8e1){this._er6=_h27;this._qq2=_wu2;this._bc1=!!_8e1;this._1d1=null;var _te6 ='<run xmlns="http://developer.cognos.com/schemas/reportService/1">' +'<bus:objectPath xsi:type="bus:searchPathSingleObject">' + _jp8._s77( _h27 ) + '</bus:objectPath>' +_t77._z22()+'<bus:options SOAP-ENC:arrayType="bus:option[]" xsi:type="SOAP-ENC:Array">' + '<item xsi:type="bus:drillThroughOptionXMLEncodedXML">' +'<bus:name xsi:type="bus:drillThroughOptionEnum">selectionContext</bus:name>' +'<bus:value xsi:type="bus:xmlEncodedXML">' +_jp8._s77(_wu2)+'</bus:value>'+'</item>'+'<item xsi:type="bus:runOptionAnyURI">' +'<bus:name xsi:type="bus:runOptionEnum">xslURL</bus:name>' +'<bus:value xsi:type="xsd:string">sa.xsl</bus:value>' +'</item>'+(this._bc1 ?'<item xsi:type = "bus:drillThroughOptionBoolean">' +'<bus:name xsi:type="bus:drillThroughOptionEnum">useEditSpecification</bus:name>'+'<bus:value xsi:type="xs:boolean">true</bus:value>' +'</item>':'')+'<item xsi:type="bus:asynchOptionInt">' +'<bus:name xsi:type="bus:asynchOptionEnum">primaryWaitThreshold</bus:name>' +'<bus:value xsi:type="xsd:int">' + _6i6._t81 + '</bus:value>' +'</item>'+'<item xsi:type="bus:asynchOptionInt">' +'<bus:name xsi:type="bus:asynchOptionEnum">secondaryWaitThreshold</bus:name>' +'<bus:value xsi:type="xsd:int">' + _6i6._eu + '</bus:value>' +'</item>'+this._343+'</bus:options>'+'</run>';_wp1.baseConstructor.call(this, _vl7, _6i6._9k, _te6);};_9t7._v88(_wp1, _6i6);_wp1.prototype._z75=function(){return this._er6;};_wp1.prototype._cr1=function(){return this._qq2;};_wp1.prototype._9t=function(){return this._bc1;};_wp1.prototype._4t=function(){return this._1d1;};_wp1.prototype._3g3=function(){_wp1.superClass._3g3.call(this);var _y86=this._mv5();if(_y86){var _f49=_y86.selectSingleNode("/SOAP-ENV:Envelope/SOAP-ENV:Body/*/bus:result/bus:details/item[@xsi:type='bus:asynchDetailDrillThroughRequest']");var _bk8, _fm8, _948, _ng6="";var _2i8=_f49.selectSingleNode("./bus:action");if(!_2i8){this._114("IDS_CCHL_BAD_DETAIL_DRILLTHROUGH_RESPONSE", _999._co8(_f49));return;}_bk8=_ie9._fv5(_2i8);var _xk7=_f49.selectNodes("./bus:options/item");if(_xk7.length>0){_948={};for(var j=0; j<_xk7.length; j++){var _ei8=_xk7.item(j);var _k49=_ei8.selectSingleNode("./bus:name");var _9w8=_ei8.selectSingleNode("./bus:value");if(!_k49||!_9w8){this._114("IDS_CCHL_BAD_DETAIL_DRILLTHROUGH_RESPONSE", _999._co8(_f49));return;}var _hy8=_9w8.selectSingleNode('item')?_ie9._fv5(_9w8.selectSingleNode('item')):_ie9._fv5(_9w8);var _t47=_9w8.getAttribute("xsi:type");var _579=_ie9._fv5(_k49);if(_t47==="xs:boolean"){_948[_579]=_hy8.toLowerCase()==='true'; }else{_948[_579]=_hy8;}}}var _6o5=_f49.selectNodes("./bus:parameters/item[@xsi:type='bus:parameterValue']");if(_6o5.length>0){_ng6=_999._co8(_6o5.item(0).parentNode);}var _pi8=_f49.selectSingleNode("./bus:target[@xsi:type='bus:searchPathSingleObject']");_fm8=_pi8?_ie9._fv5(_pi8):this._z75();this._1d1={ _3d8: _bk8, _gw7: _948, _t46: _ng6, _g19: _fm8 };}};