Configuration setup
Daniel Henrique Alves Lima <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, everybody. It is a question related to Grails FreeMarker Tags Plugin, Spring Framework and FreeMarker. Just to be sure, the plugin should to execute the following steps once per Configuration instance: http://code.google.com/p/grails-freemarker-tags-plugin/source/browse/trunk/src/groovy/org/codehaus/groovy/grails/plugins/freemarker/AutoConfigHelper.groovy#173 Right? The plugin is changing the template loader and it is adding auto-imports or shared variables. I think there is no need of executing these steps for every created View: http://code.google.com/p/grails-freemarker-tags-plugin/issues/detail?id=1#c12 Is there a way of preventing changes to a Configuration object? Thanks! Best regards, Daniel. ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb