com.atlassian.bamboo.ww2
Class BambooFreemarkerManager
java.lang.Object
FreemarkerManager
com.atlassian.bamboo.ww2.BambooFreemarkerManager
- All Implemented Interfaces:
- TemplateRenderer
public class BambooFreemarkerManager
- extends FreemarkerManager
- implements TemplateRenderer
FreemarkerManager
that automatically detects the alternative syntax
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BambooFreemarkerManager
public BambooFreemarkerManager()
createConfiguration
protected Configuration createConfiguration(ServletContext servletContext)
throws TemplateException
- Throws:
TemplateException
populateContext
public void populateContext(ScopesHashModel model,
OgnlValueStack stack,
Object action,
HttpServletRequest request,
HttpServletResponse response)
renderPage
public static String renderPage(String path,
Map params)
- Static method to render the resource found at the path
- Parameters:
path
- - must not be nullparams
- - params to pass to the freemarker context. May be null
- Returns:
- the rendered result of the page
render
public String render(String templatePath,
Map contextParams)
- Specified by:
render
in interface TemplateRenderer
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.