123456 |
- // Licensed Materials - Property of IBM
- // IBM Cognos Products: rs
- // (C) Copyright IBM Corp. 2003, 2022.
- // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- var _smh=new _lcm("_smh");_smh._jgn=function(_qxj){this._d0n._ihj=_qxj;this._4le();};_smh._bgn=function(){var _b7h;var _c6n=!this._2oh("radType_None").checked;if(_c6n){_b7h=_erh._cnh("setSorting");_b7h.setAttribute("ascending", this._2oh("radType_Asc").checked?"true":"false");_b7h.setAttribute("breakHierarchy", this._2oh("chkSortWithinLevels").checked?"false":"true");if(this._2oh("radBy_Property").checked){var _z9n=_erh._u0g(_b7h, "dmMemberProperty");_erh._u0g(_z9n, "MPUN").text=this._d0n._ap5._qik();_erh._u0g(_z9n, "itemCaption").text=this._d0n._ap5._fkl();}else if(this._2oh("radBy_Tuple").checked){_b7h.appendChild(this._d0n._gjm);}}var _qxj=this._d0n._ihj;this._3le();_erh._ybb();_8qn._cqh(_qxj, "setSorting");if(_b7h){_qxj.appendChild(_b7h);}_erh._iee();};_smh._5z2=function(){var _b7h=this._d0n._ihj.selectSingleNode("setSorting");if(_b7h){if(_b7h.getAttribute("ascending")=="true"){this._2oh("radType_Asc").checked=true;}else{this._2oh("radType_Desc").checked=true;}this._2oh("chkSortWithinLevels").checked = (_b7h.getAttribute("breakHierarchy")=="false");var _wsm=_b7h.selectSingleNode("dmTuple");var _w4h=_b7h.selectSingleNode("dmMemberProperty");if(_wsm){this._2oh("radBy_Tuple").checked=true;this._d0n._gjm=_erh._e5j(_wsm, true);}else if(_w4h){this._2oh("radBy_Property").checked=true;this._d0n._32f=_w4h.selectSingleNode("MPUN").text;}else{this._2oh("radBy_Caption").checked=true;}}else{this._2oh("chkSortWithinLevels").checked=false;this._2oh("radType_None").checked=true;}var _fsm=_6aj._tq9(this._d0n._ihj);var _kzi=_dth._9n3(_fsm)._j0n;this._d0n._ap5=new _s02(this._d0n._ihj.selectSingleNode("dmHierarchy/HUN").text,this._2oh("cboMemberProperties"),null,_fsm,this);this._fmb();};_smh._41=function(_35k){if(!_35k._o2g()._5g8().selectSingleNode("listItem")){if(this._2oh("radBy_Property").checked){this._2oh("radBy_Caption").checked=true;}}else if(this._2oh("radBy_Property").checked&&this._d0n._32f){this._d0n._ap5._hwc(this._d0n._32f);}else if(this._2oh("radBy_Property").checked){this._d0n._ap5._bs();}this._fmb();};_smh._kg2=function(_35k,_a6k){_35k._yp3();};_smh._g67=function(_35k,_a58){if(_35k==this._d0n._ap5){this._fmb();}};_smh._p9b=function(){if(this._2oh("radBy_Property").checked){this._d0n._ap5._bs();}else{this._d0n._ap5._3kk("");}this._fmb();};_smh._khe=function(){if(this._2oh("radType_None").checked){this._d0n._ap5._3kk("");}this._fmb();};_smh._0ie=function(){var _fsm=_6aj._tq9(this._d0n._ihj);_8fm._vqh( "_6zm", "_cdm", this._xp9(), _fsm,function(_wsm){_smh._3kb(_wsm);}, this._d0n._gjm );};_smh._3kb=function(_wsm){this._d0n._gjm=_wsm;this._fmb();};_smh._fmb=function(){var _c6n=!this._2oh("radType_None").checked;this._obb("fsSortBy", _c6n);this._j96("chkSortWithinLevels", _c6n);this._8q3("radBy_Caption", _c6n);this._8q3("radBy_Property", _c6n);this._8q3("radBy_Tuple", _c6n);if(_c6n){if(!this._2oh("radBy_Caption").checked &&!this._2oh("radBy_Property").checked &&!this._2oh("radBy_Tuple").checked){this._2oh("radBy_Caption").checked=true;}}else{this._2oh("radBy_Caption").checked=false;this._2oh("radBy_Property").checked=false;this._2oh("radBy_Tuple").checked=false;}var _ood=_c6n&&this._2oh("radBy_Property").checked;this._d0n._ap5._mqh(_ood);var _udi=_c6n&&this._2oh("radBy_Tuple").checked;this._pj8( "btnTuple", _udi, "hal/images/dotdotdot" );this._cb5("txtTuple", _udi);this._2oh("txtTuple").value = (_udi&&this._d0n._gjm)?_6aj._oe8(this._d0n._gjm):"";var _pai=(_ood&&!this._d0n._ap5._qik())||(_udi&&!this._d0n._gjm);this._pj8("btnOK", !_pai);};
|