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 _ice=new _lcm( "_ice", "dlgAppClickable" );_ice._jgn=function(_prm){this._3jm=_prm;this._4le();};_ice._5z2=function(){var _5x5=this._3jm.selectSingleNode(_8aj._822(this._3jm));var _jy4=_5x5&&(_5x5.getAttribute("clickable")=="true");this._2oh("radContainer").checked=_jy4;this._2oh("radParts").checked=!_jy4;switch(this._3jm.nodeName){case "list":_4qn._1je( this._2oh("lblContainer"), _frh._c6j("IDS_LBL_CLICKABLE_LIST_CONTAINER") );_4qn._1je( this._2oh("lblParts"), _frh._c6j("IDS_LBL_CLICKABLE_LIST_PARTS") );this._2oh("listClickableRegions").style.display = "";this._2oh("chartClickableRegions").style.display = "none";this._2oh("crosstabClickableRegions").style.display = "none";break;case "crosstab":_4qn._1je( this._2oh("lblContainer"), _frh._c6j("IDS_LBL_CLICKABLE_XTAB_CONTAINER") );_4qn._1je( this._2oh("lblParts"), _frh._c6j("IDS_LBL_CLICKABLE_XTAB_PARTS") );this._2oh("listClickableRegions").style.display = "none";this._2oh("chartClickableRegions").style.display = "none";this._2oh("crosstabClickableRegions").style.display = "";this._2oh("chkColumns").checked = (_5x5&&_5x5.getAttribute("clickableColumns"))?(_5x5.getAttribute("clickableColumns")=="true"):false;this._2oh("chkRows").checked = (_5x5&&_5x5.getAttribute("clickableRows"))?(_5x5.getAttribute("clickableRows")=="true"):false;var _nq=this._3jm.selectSingleNode("crosstabFactCell/appCrosstabFactCellProperties");this._2oh("chkFactCells").checked = (_nq&&_nq.getAttribute("clickable"))?(_nq.getAttribute("clickable")=="true"):true;break;case "appRepeaterTable":case "repeaterTable":_4qn._1je( this._2oh("lblContainer"), _frh._c6j("IDS_LBL_CLICKABLE_REPEATER_CONTAINER") );_4qn._1je( this._2oh("lblParts"), _frh._c6j("IDS_LBL_CLICKABLE_REPEATER_PARTS") );this._2oh("listClickableRegions").style.display = "none";this._2oh("chartClickableRegions").style.display = "none";this._2oh("crosstabClickableRegions").style.display = "none";break;default:_4qn._1je( this._2oh("lblContainer"), _frh._c6j("IDS_LBL_CLICKABLE_CHART_CONTAINER") );_4qn._1je( this._2oh("lblParts"), _frh._c6j("IDS_LBL_CLICKABLE_CHART_PARTS") );this._2oh("listClickableRegions").style.display = "none";this._2oh("crosstabClickableRegions").style.display = "none";this._2oh("chartClickableRegions").style.display = "";var _oz1=this._3jm.selectSingleNode("appChartProperties/appChartClickableRegions");this._2oh("chkIntersections").checked = (_oz1&&_oz1.getAttribute("intersections"))?(_oz1.getAttribute("intersections")=="true"):true;this._2oh("chkNumericAxisTitle").checked = (_oz1&&_oz1.getAttribute("numericAxisTitle"))?(_oz1.getAttribute("numericAxisTitle")=="true"):false;this._2oh("chkOrdinalAxisTitle").checked = (_oz1&&_oz1.getAttribute("ordinalAxisTitle"))?(_oz1.getAttribute("ordinalAxisTitle")=="true"):false;this._2oh("chkOrdinalAxisLabels").checked = (_oz1&&_oz1.getAttribute("ordinalAxisLabels"))?(_oz1.getAttribute("ordinalAxisLabels")=="true"):false;this._2oh("chkLegendTitle").checked = (_oz1&&_oz1.getAttribute("legendTitle"))?(_oz1.getAttribute("legendTitle")=="true"):false;this._2oh("chkLegendLabels").checked = (_oz1&&_oz1.getAttribute("legendLabels"))?(_oz1.getAttribute("legendLabels")=="true"):false; break;}this._v7d();};_ice._o46=function(){};_ice._bgn=function(){_erh._ybb();switch(this._3jm.nodeName){case "list":if(this._2oh("radContainer").checked){var _sw6=_erh._h56(this._3jm, "appListProperties");_sw6.setAttribute("clickable", "true");var _emf=this._3jm.selectNodes(".//appListColumnProperties[@clickable] | .//appListRowProperties[@clickable]");this._v43(_emf);}else{var _sw6=this._3jm.selectSingleNode("appListProperties");if(_sw6){_sw6.removeAttribute("clickable");_8aj._sw(_sw6);}}break;case "crosstab":if(this._2oh("radContainer").checked){var _1x5=_erh._h56(this._3jm, "appCrosstabProperties");_8qn._cqh(this._3jm, "crosstabFactCell/appCrosstabFactCellProperties");_1x5.setAttribute("clickable", "true");_1x5.removeAttribute("clickableColumns");_1x5.removeAttribute("clickableRows");var _emf=this._3jm.selectNodes(".//appCrosstabNodeMemberProperties[@clickable] | .//appCrosstabNodeMemberFactCellProperties[@clickable] | .//appCrosstabFactCellProperties[@clickable] | .//appCrosstabIntersectionProperties[@clickable]");this._v43(_emf);}else{var _nwk=this._2oh("chkColumns").checked;var _96n=this._2oh("chkRows").checked;var _0bi=this._2oh("chkFactCells").checked;if(_0bi){_8qn._cqh(this._3jm, "crosstabFactCell/appCrosstabFactCellProperties");}else{var _a38=this._3jm.selectSingleNode("crosstabFactCell");var _nq=_erh._h56(_a38, "appCrosstabFactCellProperties");_nq.setAttribute("clickable", "false");}if(!_nwk&&!_96n){var _ch3=this._3jm.selectSingleNode("appCrosstabProperties");if(_ch3){_ch3.removeAttribute("clickable");_ch3.removeAttribute("clickableColumns");_ch3.removeAttribute("clickableRows");_8aj._sw(_ch3);}}else{var _ch3=_erh._h56(this._3jm, "appCrosstabProperties");_ch3.removeAttribute("clickable");_8qn._qie(_ch3, "clickableColumns", _nwk.toString());_8qn._qie(_ch3, "clickableRows", _96n.toString());}}break;case "appRepeaterTable":case "repeaterTable":var _m8e=_j9g._z33[this._3jm.nodeName];if(this._2oh("radContainer").checked){var _ac1=_erh._h56(this._3jm, _m8e);_ac1.setAttribute("clickable", "true");}else{var _ac1=this._3jm.selectSingleNode(_m8e);if(_ac1){_ac1.removeAttribute("clickable");_8aj._sw(_ac1);}}break;default:var _r26="appChartProperties";var _l02="appChartClickableRegions";if(this._2oh("radContainer").checked){var _1x5=_erh._h56(this._3jm, _r26);_8qn._cqh(_1x5, _l02);_1x5.setAttribute("clickable", "true");}else{var _t1c=this._2oh("chkIntersections").checked;var _jz7=this._2oh("chkNumericAxisTitle").checked;var _mz7=this._2oh("chkOrdinalAxisTitle").checked;var _8u6=this._2oh("chkOrdinalAxisLabels").checked;var _29f=this._2oh("chkLegendTitle").checked;var _9nd=this._2oh("chkLegendLabels").checked;if(_t1c&&!_jz7&&!_mz7&&!_8u6&&!_29f&&!_9nd){var _1x5=this._3jm.selectSingleNode(_r26);if(_1x5){_8qn._cqh(_1x5, _l02);_1x5.removeAttribute("clickable");_8aj._sw(_1x5);}}else{var _1x5=_erh._h56(this._3jm, _r26);var _oz1=_erh._h56(_1x5, _l02);_8qn._qie(_oz1, "intersections", _t1c.toString());_8qn._qie(_oz1, "ordinalAxisLabels", _8u6.toString());_8qn._qie(_oz1, "legendLabels", _9nd.toString());_8qn._qie(_oz1, "numericAxisTitle", _jz7.toString());_8qn._qie(_oz1, "ordinalAxisTitle", _mz7.toString());_8qn._qie(_oz1, "legendTitle", _29f.toString());_1x5.removeAttribute("clickable");}}break;}_erh._iee();this._3le();};_ice._v7d=function(){var _e7f=this._2oh("radParts").checked;switch(this._3jm.nodeName){case "list":this._obb("listPartsHelp", _e7f);this._2oh("listPartsHelp").style.backgroundColor = _e7f?"":"transparent";break;case "crosstab":this._j96("chkColumns", _e7f&&Boolean(this._3jm.selectSingleNode("crosstabColumns")));this._j96("chkRows", _e7f&&Boolean(this._3jm.selectSingleNode("crosstabRows")));this._j96("chkFactCells", _e7f&&Boolean(this._3jm.selectSingleNode("crosstabFactCell")));this._obb("crosstabPartsHelp", _e7f);this._2oh("crosstabPartsHelp").style.backgroundColor = _e7f?"":"transparent";break;case "appRepeaterTable":case "repeaterTable":break;default:this._j96("chkIntersections", _e7f);this._j96("chkNumericAxisTitle", _e7f);this._j96("chkOrdinalAxisTitle", _e7f);this._j96("chkOrdinalAxisLabels", _e7f);this._j96("chkLegendTitle", _e7f);this._j96("chkLegendLabels", _e7f);break;}};_ice._v43=function(_emf){for(var i=0; i<_emf.length; i++){var _8li=_emf.item(i);var _p05=_ath._h03(_8li);if(this._3jm==_p05){_8li.removeAttribute("clickable");_8aj._sw(_8li);}}};
|