vitro/webapp/web/WEB-INF/resources
j2blake 3f061da006 VIVO-246 Re-implement the FreemarkerConfiguration
The Configuration must contain mutable information like the theme directory and the TemplateLoader. It must also be request-specific so it can have the correct Locale for language support. But we should only have one instance, so there is only one TemplateCache (alternatively, one TemplateCache per theme).

Previously, this was addressed by intercepting the Template processing and adding the request-based info to the Environment. However, this interception code needed to appear each time a Template was processed. This was sometimes overlooked, and at best introduced a bunch of duplicated code.

Instead, I extended the freemarker Configuration class to include a ThreadLocal that holds request-specific information.
2013-08-08 13:22:16 -04:00
..
permission_config.n3 Neither PUBLIC nor self-editors get to edit any properties by virtue of their role. 2012-03-29 16:36:09 +00:00
shortview_config.n3 replaced reference to the sirceforge wiki with a reference to the duraspace wiki 2013-08-06 14:31:26 -04:00
startup_listeners.txt VIVO-246 Re-implement the FreemarkerConfiguration 2013-08-08 13:22:16 -04:00