use of org.craftercms.engine.freemarker.ServletContextHashModel in project engine by craftercms.
the class CrafterFreeMarkerView method initServletContext.
@Override
protected void initServletContext(ServletContext servletContext) throws BeansException {
super.initServletContext(servletContext);
servletContextHashModel = new ServletContextHashModel(servletContext, getObjectWrapper());
applicationContextAccessor = new ApplicationContextAccessor(getApplicationContext());
}
Aggregations