functionalitiesList = (List) moduleResponse.getAttribute(SpagoBIConstants.FUNCTIONALITIES_LIST);
} else {
functionalitiesList = (List) moduleResponse.getAttribute(attributeToRender);
}
String initialPath = (String) moduleResponse.getAttribute(TreeObjectsModule.PATH_SUBTREE);
ITreeHtmlGenerator gen = null;
try{
gen = (ITreeHtmlGenerator)Class.forName(htmlGeneratorClass).newInstance();
} catch(Exception e) {
return -1;
}
StringBuffer htmlStream = null;
if(treeName==null) {
htmlStream = gen.makeTree(functionalitiesList, httpRequest, initialPath);
} else {
htmlStream = gen.makeTree(functionalitiesList, httpRequest, initialPath, treeName);
}
try {
pageContext.getOut().print(htmlStream);
} catch(IOException ioe) {