Configure FreemarkerViewRenderer #8430
-
I haven't been able to find a way to configure the Freemarker feature version Since the FreemarkerViewRenderer registers itself via the service loader mechanism, the default no-args constructor appears to be called . This results in the view renderer always having the default version of Is there a way to configure that version without extending the class? Example:
Also, I don't think the caching behavior for FreemarkerViews can be configured as currently designed. The mustashe implementation seems to have special logic for that behavior, but I might have missed a setting for that one. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can specify the version with the # configuration.yaml
views:
freemarker:
incompatible_improvements: "2.3.32"
Which behavior do you mean exactly?
|
Beta Was this translation helpful? Give feedback.
You can specify the version with the
incompatible_improvements
configuration setting for Freemarker, seeConfiguration#setSetting(String, String)
:Which behavior do you mean exactly?