[
https://issues.apache.org/jira/browse/WW-4838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16138006#comment-16138006
]
ASF subversion and git services commented on WW-4838:
-----------------------------------------------------
Commit 68cb702dc8b13eb0e948a59cc3e274206019c642 in struts's branch
refs/heads/master from [~lukaszlenart]
[ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=68cb702 ]
WW-4838 Allows define incompatible improvements as an init-param
> expose Freemarker incompatible_improvements into FreemarkerManager and
> StrutsBeansWrapper
> -----------------------------------------------------------------------------------------
>
> Key: WW-4838
> URL: https://issues.apache.org/jira/browse/WW-4838
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - SiteMesh
> Affects Versions: 2.5.12
> Reporter: adam brin
> Priority: Minor
> Fix For: 2.5.13
>
>
> The latest version of Freemarker (2.3.6) supports the use of {{default}}
> methods in interfaces when communicating between beans and the Freemarker
> template.
> To enable this, it's required to allow init parameters to be passed from the
> servlet configuration in through to the {{FreemarkerManager}} and the
> {{BeansWrapper}}. The sitemesh plugin prevents the setting of these
> parameters because it doesn't appear to pass the parameters in through.
> * Release notes for 2.3.6 -- http://freemarker.org/docs/versions_2_3_26.html
> * Documentation of {{incompatible_improvements}}
> http://freemarker.org/docs/pgui_config_incompatible_improvements.html#pgui_config_incompatible_improvements_how_to_set
> * Documentation of DefaultObejctWrapper and configuration
> http://freemarker.org/docs/pgui_datamodel_objectWrapper.html#topic.defaultObjectWrapperIcI
> * Constructor for DefaultObjectWrapper --
> http://freemarker.org/docs/api/freemarker/template/DefaultObjectWrapper.html#DefaultObjectWrapper-freemarker.template.Version-
> and BeansWrapper --
> http://freemarker.org/docs/api/freemarker/ext/beans/BeansWrapper.html
> Note: I'm not arguing that we should just "change these parameters, but it'd
> be nice to be able to pass the <init-param> configuration through to
> Freemarker
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)