/**************************************************************** ** Licensed Materials - Property of IBM ** ** BI and PM: qs ** ** (C) Copyright IBM Corp. 2001, 2015 ** ** US Government Users Restricted Rights - Use, duplication or ** disclosure restricted by GSA ADP Schedule Contract with IBM Corp. *****************************************************************/ // Copyright (C) 2008 Cognos ULC, an IBM Company. All Rights Reserved. // Cognos and the Cognos logo are trademarks of Cognos ULC (formerly Cognos Incorporated) in the United States and/or other countries. IBM and the IBM logo are trademarks of International Business Machines Corporation in the United States, or other countries, or both. Other company, product, or service names may be trademarks or service marks of others. var traceDumpWin = null; var gRecordDumpWin = null; var gPushCmdWin = null; var gQSDebug = true; function trace(msg, useTraceDumpWin) { var winToDumpTo; if (typeof useTraceDumpWin != "undefined" && useTraceDumpWin === true) { if (!traceDumpWin || (traceDumpWin && traceDumpWin.closed)) { traceDumpWin = window.open(goApplicationManager.getReportFrame().oCVQS.getWebContentRoot() + "/common/blank.html", "_trace_window_"); } winToDumpTo = traceDumpWin; } else { winToDumpTo = window.open("", "_trace_window_"); } winToDumpTo.document.writeln("
" + msg + ""); }; function traceObject(obj) { if (!traceDumpWin || (traceDumpWin && traceDumpWin.closed)) { traceDumpWin = window.open(goApplicationManager.getReportFrame().oCVQS.getWebContentRoot() + "/common/blank.html", "_trace_window_"); } traceDumpWin.document.open(); traceDumpWin.document.writeln("
Output of an object. ["+(new Date())+"]
"); traceDumpWin.document.writeln(traceObjectHtml(obj)); traceDumpWin.document.close(); }; function traceObjectHtml(obj) { var str = "name | value(s) | "; var p = new Array(); var i; for (i in obj) { p.push(i); } p.sort(); for (i = 0; i < p.length; i++) { var pre = "
---|---|
" + p[i] + " | "; var mid = obj[p[i]]; var post = " |
As of ["+(new Date())+"]
Feature Object Status
"; HTMLout += "Feature Name | State | "; var iRegdFeatureCount = 0; var iUnregdFeatureCount = 0; var p = new Array(); for (i in aRegdFeatureList) { iRegdFeatureCount++; p.push(i); } p.sort(); for (i = 0; i < p.length; i++) { HTMLout += "
---|---|
" + aRegdFeatureList[p[i]].m_sFeatureName + " | " + aRegdFeatureList[p[i]].m_sFeatureState + " |
" + aUnregdFeatureList[p[i]].m_sFeatureName + " | " + aUnregdFeatureList[p[i]].m_sFeatureState + " |
Config values
"; HTMLout += "name | value(s) | "; p = new Array(); for (i in cfgValues) { p.push(i); } p.sort(); for (i = 0; i < p.length; i++) { if (!(p[i] == "CalcFns" || p[i] == "CalcFnsRestricted") || showCalcFuns) { HTMLout += "
---|
"+p[i]+" | "+printValue(cfgValues[p[i]])+"
" + sLabel + " Variables
"; HTMLout += "Type | Name | Value(s) | "; var oManagerKeys = oManager.keys(); for (i = 0; i < oManagerKeys.length; i++) { HTMLout += "
---|---|
" + typeof oManager.get(oManagerKeys[i]) + " | " + oManagerKeys[i] + " | " + printValue(oManager.get(oManagerKeys[i])) + "
Dialog local values [" + now + "]
"; HTMLout += "name | value(s) | "; var i = "none"; var p = new Array(); for (i in dialogFormValues) { p.push(i); } p.sort(); if (p.length > 0) { for (i = 0; i < p.length; i++) { HTMLout += "
---|---|
"+p[i]+" | "+printValue(dialogFormValues[p[i]])+"|
None |
Dialog global values [" + now + "]
"; HTMLout += "name | value(s) | "; i = "none"; for (i in dialogGlobalValues) { HTMLout += "
---|---|
"+i+" | "+printValue(dialogGlobalValues[i])+"|
None |
Feature Object " + aFeatureStack[aFeatureStack.length - 1] + " [" + now + "]
"; HTMLout += "Type | Name | Value(s) | "; i = "none"; var oFeature = goApplicationManager.getFeatureManager().getAllFeatureDetailsInStack(); if (oFeature.length > 0) { for (i = 0; i < oFeature.length; i++) { HTMLout += "
---|---|---|
" + oFeature[i][0] + " | " + oFeature[i][1] + " | " + printValue(oFeature[i][2]) + "|
None |
";
}
else
{
t += "
|