_gd8.js 3.0 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 _gd8=new _lcm("_gd8");_gd8._jgn=function(_6u5,_f4l,_b6k){this._d0n._4o5=_6u5;this._d0n._csb=_f4l.selectSingleNode("queryProblems");this._4le(null, _b6k);};_gd8._yem=function(){var _mzj=this._ujj._885();var _wbk=_mzj.getAttribute("problemLocation");if(!_wbk){_67j("IDS_VALIDATE_NO_CONTEXT");return;}var n=_erh._vtc().selectSingleNode(_wbk);if(!n){_67j("IDS_VALIDATE_NOT_FOUND");return;}if(!_ypn._d96(n)){_67j("IDS_VALIDATE_NOT_FOUND");return;}};_gd8._gk8=function(){var _mzj=this._ujj._885();var _q7n;switch(_mzj.getAttribute("problemSeverity")){case "information":_q7n=_2dm._gke;break;case "warning":_q7n=_2dm._zkk;break;default:_q7n=_2dm._bfm;}var _j8e=_mzj.getAttribute("problemTitle");var _yvf=_mzj.getAttribute("problemMessageBody");if(_j8e.length>100){if(_yvf){_j8e=_cgm._hkk(_j8e, 100);}else{_yvf=_j8e;_j8e="";}}_46b( _j8e, _frh._c6j("IDS_TITLE_ERRORDETAILS"), _yvf, "", _q7n );};_gd8._mk8=function(){var _sof=new _lc8( new _qf2( this, "_qu8" ), [ "../NagMessageXForm.xsl" ] );_5ml._y5g(_sof, _frh._c6j("IDS_HAL_TV_LOADING"), 30);};_gd8._qu8=function(_yal){_8fm._jgn( "hal/dialogs/_h0g", this._xp9(), null, _frh._c6j( "IDS_TITLE_VALIDATIONDETAILS" ), this._d0n._csb );};_gd8._vfn=function(){var _mzj=this._ujj._885();if(_4aj._ecb()){_4aj._qll(_mzj.getAttribute("problemFullTitle"));}else{_8fm._jgn( "hal/dialogs/_mm9", null, _frh._c6j("IDS_HAL_TITLE_XML_COPY_ERRORS"), true, _mzj.getAttribute( "problemFullTitle" ) );}};_gd8._mjl=function(){var a=[];var nl=this._ujj._tfe();for(var i=0;i<nl.length;i++){a.push(nl.item(i).getAttribute("problemFullTitle"));}if(_4aj._ecb()){_4aj._qll(a.join("\r\n\r\n"));}else{_8fm._jgn( "hal/dialogs/_mm9", null, _frh._c6j("IDS_HAL_TITLE_XML_COPY_ERRORS"), true, a.join( "\r\n\r\n" ) );}};_gd8._4e1=function(){return this._80f._bg8();};_gd8._1q1=function(){return this._80f._jq9();};_gd8._pe4=function(_a6k,_mzj,_zdf){this._zj6();};_gd8._oi2=function(_a6k,_mzj){this._gk8();};_gd8._5z2=function(){this._ujj=new _pgk(this._2oh("divErrors"), null, this);for(var i=0;i<this._d0n._4o5.length;i++){this._d0n._4o5[i]._yd8(this._ujj, true);}this._ujj._wfn();this._gsk=new _0jl( this._2oh( "divToolbar" ), this._53g( "Toolbar" ), this );this._zj6();var _mfi=this._2oh("divRootPane");var _p1k=this._53g("DlgPane");this._80f=new _uzf(_mfi, _p1k, null, this._m56(), this._m75());};_gd8._jo9=function(){this._80f._cbb("_gd8_DlgPane", this._m56(), this._m75());};_gd8._o46=function(){this._ujj._fdm();if(this._gsk){this._gsk._fdm();this._gsk=null;}if(this._80f){this._80f._fdm();}this._ujj=null;};_gd8._zj6=function(){var _mzj=this._ujj._885();this._gsk._pj8("_gd8_btnCopy", _mzj);this._gsk._pj8("_gd8_btnCopyAll", this._ujj._tfe().length>0);this._gsk._pj8( "_gd8_btnSelect", _mzj&&_mzj.getAttribute( "problemLocation" ) );this._gsk._pj8("_gd8_btnShowDetails", _mzj);this._gsk._pj8("_gd8_btnShowQueryDetails", this._d0n._csb!=null);};