[
https://issues.apache.org/jira/browse/WW-1654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukasz Lenart closed WW-1654.
-----------------------------
Resolution: Fixed
> Provide default settings for Freemarker
> ---------------------------------------
>
> Key: WW-1654
> URL: https://issues.apache.org/jira/browse/WW-1654
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - Tags, XML Configuration
> Affects Versions: 2.0.3
> Reporter: Philip Luppens
> Priority: Minor
> Fix For: 6.1.0
>
>
> Struts 2 allows the use of custom settings for Freemarker by providing a
> freemarker.properties file. Due to the fact the Struts 2 uses Freemarker
> internally to render its (UI) components, we cannot assume a Struts 2 user to
> be aware of the potential benefit by providing custom cache and template
> checking delay settings (esp. when he or she uses a different view
> technology).
> It would be nice to provide a sensible default for the TemplateUpdateDelay
> setting when not in devMode (where constant reloading is allowed).
> A better update delay would benefit the UI tags, since they can be assumed to
> be fairly static.
> Also, the witespace setting gets overruled in the code after the custom
> settings have been loaded.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)