Examples of ITreeHtmlGenerator


Examples of it.eng.spagobi.analiticalmodel.functionalitytree.presentation.ITreeHtmlGenerator

      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) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.