struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4838) expose Freemarker incompatible_improvements into FreemarkerManager and StrutsBeansWrapper
Date Wed, 23 Aug 2017 08:02:01 GMT

    [ https://issues.apache.org/jira/browse/WW-4838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16138033#comment-16138033
] 

Hudson commented on WW-4838:
----------------------------

SUCCESS: Integrated in Jenkins build Struts-master-JDK7 #22 (See [https://builds.apache.org/job/Struts-master-JDK7/22/])
WW-4838 Allows define incompatible improvements as an init-param (lukaszlenart: rev 68cb702dc8b13eb0e948a59cc3e274206019c642)
* (edit) core/src/main/java/org/apache/struts2/views/freemarker/FreemarkerManager.java
* (edit) core/src/main/java/org/apache/struts2/views/freemarker/StrutsBeanWrapper.java


> 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
>            Assignee: Lukasz Lenart
>            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)

Mime
View raw message