vitro/webapp/web/WEB-INF
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
..
filegraph/tbox Normalize line endings VIVO-101 2013-07-18 15:19:53 -04:00
ontologies Normalize line endings VIVO-101 2013-07-18 15:19:53 -04:00
resources VIVO-246 Re-implement the FreemarkerConfiguration 2013-08-08 13:22:16 -04:00
tlds Normalize line endings VIVO-101 2013-07-18 15:19:53 -04:00
dwr.xml NIHVIVO-2811 Make the webapp directory more closely resemble the product base directory - move tlds, filegraph, ontologies, dwr.xml and web.xml into web/WEB-INF. Adjust the build script accordingly. 2011-09-08 17:05:37 +00:00
web.xml Adding initial search web service for updating uris. VIVO-98 2013-07-15 14:14:15 -04:00