Package org.pentaho.cdf.environment.templater

Examples of org.pentaho.cdf.environment.templater.ITemplater


    // Process i18n on dashboard outer template
    templateContent = updateUserLanguageKey( templateContent );
    templateContent = processi18nTags( templateContent, i18nTagsList );
    // Process i18n on dashboard outer template - end

    ITemplater templater = CdfEngine.getEnvironment().getTemplater();

    intro = templater.getTemplateSection( templateContent, Section.HEADER );
    footer = templater.getTemplateSection( templateContent, Section.FOOTER );

    final String dashboardContent = getDashboardContent( dashboardTemplateFile.getContents(), i18nTagsList );

    // Merge dashboard related message file with global message file and save it in the dashboard cache
    String path = StringUtils.defaultIfEmpty( FilenameUtils.getPathNoEndSeparator( dashboardTemplateFile.getPath() ),
View Full Code Here

TOP

Related Classes of org.pentaho.cdf.environment.templater.ITemplater

Copyright © 2018 www.massapicom. 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.