[ https://issues.apache.org/jira/browse/FREEMARKER-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16087480#comment-16087480 ]
Woonsan Ko commented on FREEMARKER-55: -------------------------------------- {{AbstractTemplateView}} has an option to put every attribute to model, but the option is turned off by default. And, {{org.springframework.web.servlet.view.freemarker.FreeMarkerView#buildTemplateModel(Map<String, Object>, HttpServletRequest, HttpServletResponse)}} does put the {{FreemarkerServlet}} variables again *for some reason*. My guess is probably {{FreemarkerServlet}} variables are more efficient than iterating and copying the attributes in {{AbstractTemplateView}}. Anyway, that's my guess. So did I. I'll create a new pull request with renaming *Freemarker* to *FreeMarker*. > FM3 freemarker-spring module, Web MVC support > --------------------------------------------- > > Key: FREEMARKER-55 > URL: https://issues.apache.org/jira/browse/FREEMARKER-55 > Project: Apache Freemarker > Issue Type: Task > Affects Versions: 3.0.0 > Reporter: Daniel Dekany > > Add Spring "Web MVC framework" functionality to freemarker-spring. > This can be complex task (and the issue possibly has to be subdivided), as it > involves things like: > * Some aspects of the FreeMarker 2 integration (developed by the Spring > developers) are quite confusing ({{FreemarerConfigurer}}, etc.), and we are > looking into if it needs to be like that. > * See if we can support {{@EnableWebMvc}} (note that FreeMarker 2 support is > hard coded into {{ViewResolverRegistry}}, which we can't modify) > * Creating custom directives/methods to expose Spring features like the > Spring JSP Tag Library does (but in a way that firs FreeMarker better) > * Expose JSP custom tag support from the {{freemarker-servlet}} module. > Depends on: FREEMARKER-54 -- This message was sent by Atlassian JIRA (v6.4.14#64029)