context+="themes/"+currTheme+"/";
htmlStream.append(" treeCMS = new dTree('treeCMS', '" + context + "');\n");
htmlStream.append(" treeCMS.add(" + dTreeRootId + ",-1,'"+nameTree+"');\n");
Iterator it = objectsList.iterator();
while (it.hasNext()) {
LowFunctionality folder = (LowFunctionality) it.next();
/* ********* start luca changes *************** */
boolean isUserFunct = folder.getCodType().equals(SpagoBIConstants.USER_FUNCTIONALITY_TYPE_CODE);
if(isUserFunct) {
continue;
}
/* ********* end luca changes ***************** */
if (initialPath != null) {
if (initialPath.equalsIgnoreCase(folder.getPath())) addItemForJSTree(htmlStream, folder, true);
else addItemForJSTree(htmlStream, folder, false);
} else {
if (folder.getParentId() == null) addItemForJSTree(htmlStream, folder, true);
else addItemForJSTree(htmlStream, folder, false);
}
}
//htmlStream.append(" document.write(treeCMS);\n");
htmlStream.append(" document.getElementById('treeExportObjTd" + requestIdentity + "').innerHTML = treeCMS;\n");