vitro/webapp
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
..
config VIVO-18 Rename Log4J properties file 2013-06-21 15:39:15 -04:00
lib Changes to the SolrSetup class require access to the newer HttpClient libraries 2013-07-24 11:49:56 -04:00
src VIVO-246 Re-implement the FreemarkerConfiguration 2013-08-08 13:22:16 -04:00
test Removing PageDataGetters and its related servlets and tests. VIVO-218 2013-08-05 12:41:15 -04:00
themes/vitro some i18n cleanup 2013-05-21 10:55:24 -04:00
web VIVO-246 Re-implement the FreemarkerConfiguration 2013-08-08 13:22:16 -04:00
build.xml VIVO-234 Ignore a runtime.properties file in the distribution directory 2013-08-01 15:08:15 -04:00
context.xml VIVO-2 Modify the build so installers can create a container-neutral VIVO. 2013-01-16 14:54:33 -05:00
webapp.doxyfile Improve output: distinguish between failed assertions (failures) and unexpected exceptions (errors), and print a filtered stack trace for any exception. 2010-01-29 22:13:57 +00:00