_9d8.js 2.6 KB

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: rs
  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. var _9d8=new _lcm("_9d8");_9d8._jgn=function(_u4c,_hwm,_i9e,_b6k){this._d0n._bkm=_hwm;this._d0n._ohd=_i9e;this._4le(_u4c, _b6k);};_9d8._5z2=function(){this._d0n._s2i=new _pgk(this._2oh("lvFeatures"), _frh._53g("EmptyList"), this);this._d0n._ofj=new _jgk(this._2oh("cboMapLayer"), _frh._53g("EmptyCombo"), null, this);this._d0n._bdd=_qkk._qik("FeatureDisplayLimit");_7ml._7gn(this);this._gg6();this._2tk="";this._d0n._s2i._wfn();};_9d8._bgn=function(){if(!this._d0n._s2i._885()){_67j("IDS_MSG_NOFEATURE");return;}this._2tk=this._d0n._s2i._885().getAttribute("value");this._9hd=this._d0n._ofj._qik();this._so5=this._2oh("radContains").checked;this._3le();};_9d8._87b=function(){return this._2tk;};_9d8._gjk=function(){if(_7ml._zik()){var _yal=_7ml._uh(this, this._d0n._bkm, this._d0n._ofj._qik(), this._d0n._ohd, this._2oh("txtSearchString").value, this._2oh("radContains").checked, this._d0n._bdd + 1, "");_5ml._y5g(_yal, _frh._c6j("IDS_MSG_LOADING_MAP_INFO"));}else{_67j("IDS_ERR_NO_MAPS", null, _2dm._bfm);}};_9d8._3i8=function(){this._bkb();};_9d8._996=function(_yal){var _5um=_yal._8ik();if(_5um){_08j(_5um);return;}var _6ma=_yal._63g();if(_6ma){this._d0n._s2i._bzm();var _qri=_6ma.selectNodes("/SOAP-ENV:Envelope/SOAP-ENV:Body/*/bus:result/item");if(_qri.length>this._d0n._bdd){setTimeout('_67j("IDS_MSG_FEATURES_LIMIT_REACHED")', 0);}for(var i=0; i<_qri.length; i++){if(i>=this._d0n._bdd){break;}var _dwm=_qri.item(i).selectSingleNode("bus:name").text;var _mzj=this._d0n._s2i._767();_mzj.setAttribute("value", _dwm);_mzj.setAttribute("label", _dwm);}this._d0n._s2i._wfn();if(this._d0n._s2i._tfe().length>0){this._d0n._s2i._gwc(0);}}};_9d8._kg2=function(_35k,_a6k){_35k._yp3();};_9d8._oi2=function(_a6k,_mzj){this._bgn();};_9d8._bkb=function(){var _ful=_7ml._26j(this._d0n._bkm);var _bbn=this._d0n._ofj._o2g();_bbn._bzm();for(var i=0; i<_ful.length; i++){var _mzj=_bbn._767();_mzj.setAttribute("value", _ful[i].selectSingleNode("bus:id").text);var _dwm=_ful[i].selectSingleNode("bus:name").text;_mzj.setAttribute("label", _dwm);_mzj.setAttribute("tooltip", _dwm);}_bbn._wfn();if(_bbn._tfe().length>0){this._d0n._ofj._gwc(0);}};_9d8._gg6=function(){if(this._so5){this._2oh("radContains").checked=true;}if(this._9hd&&!this._d0n._ofj._o2g()._lee("value", this._9hd)){this._9hd="";}if(this._9hd){this._d0n._ofj._3kk(this._9hd, "", _7ml._rfe(this._d0n._bkm, this._9hd));}else{this._d0n._ofj._3kk("", "", "");}};