| java.lang.Object org.apache.struts2.views.freemarker.FreemarkerManager org.apache.struts2.showcase.freemarker.CustomFreemarkerManager
CustomFreemarkerManager | public class CustomFreemarkerManager extends FreemarkerManager (Code) | | This is an example of a custom FreemarkerManager, mean to be
instantiated through Spring.
It will add into Freemarker's model
an utility class called
CustomFreemarkerManagerUtil as a simple
example demonstrating how to extends FreemarkerManager.
The
CustomFreemarkerManagerUtil will be created by Spring and
injected through constructor injection.
|
Methods inherited from org.apache.struts2.views.freemarker.FreemarkerManager | protected ScopesHashModel buildScopesHashModel(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, ObjectWrapper wrapper, ValueStack stack)(Code)(Java Doc) public SimpleHash buildTemplateModel(ValueStack stack, Object action, ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, ObjectWrapper wrapper)(Code)(Java Doc) protected freemarker.template.Configuration createConfiguration(ServletContext servletContext) throws TemplateException(Code)(Java Doc) final public synchronized freemarker.template.Configuration getConfiguration(ServletContext servletContext) throws TemplateException(Code)(Java Doc) protected BeansWrapper getObjectWrapper()(Code)(Java Doc) protected TemplateLoader getTemplateLoader(ServletContext servletContext)(Code)(Java Doc) protected void loadSettings(ServletContext servletContext, freemarker.template.Configuration configuration)(Code)(Java Doc) protected void populateContext(ScopesHashModel model, ValueStack stack, Object action, HttpServletRequest request, HttpServletResponse response)(Code)(Java Doc) public void setContainer(Container container)(Code)(Java Doc) public void setEncoding(String encoding)(Code)(Java Doc) public void setWrapperAltMap(String val)(Code)(Java Doc)
|
|
|