[
https://issues.apache.org/struts/browse/WW-1744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40521
]
tm_jee commented on WW-1744:
----------------------------
I think someone with more insight of struts2 should take a look at this first
cause
- there's a sitemesh plugin, should it belong there?
- the changes affect FreemarkerManager which is part of the core (I think). It
sounds strange if part of this is in the plugin and part of it is in the core
- it uses webwork.properties, (which should be struts.properties equivalent
but if not mistaken its being deprecated in favour of another configuration
file) to decide if the sitemesh transform should be populated into freemarker's
model.
Maybe we should leave this with WebWork and not port it to struts2.
The changes are :-
Modified: trunk\src\java\com\opensymphony\webwork\WebWorkConstants.java
Modified: trunk\src\java\com\opensymphony\webwork\components\Component.java
Modified: trunk\src\java\com\opensymphony\webwork\default.properties
Modified: trunk\src\java\com\opensymphony\webwork\views\JspSupportServlet.java
Modified:
trunk\src\java\com\opensymphony\webwork\views\freemarker\FreemarkerManager.java
Adding: trunk\src\java\com\opensymphony\webwork\views\sitemesh
Adding:
trunk\src\java\com\opensymphony\webwork\views\sitemesh\ApplyDecoratorBean.java
Adding:
trunk\src\java\com\opensymphony\webwork\views\sitemesh\ApplyDecoratorTransform.java
Adding:
trunk\src\java\com\opensymphony\webwork\views\sitemesh\SitemeshModel.java
rgds
> Support Sitemesh's applyDecorator tag using Freemarker Transform
> ----------------------------------------------------------------
>
> Key: WW-1744
> URL: https://issues.apache.org/struts/browse/WW-1744
> Project: Struts 2
> Issue Type: Improvement
> Reporter: tm_jee
> Fix For: 2.0.7
>
>
> this is a port from http://jira.opensymphony.com/browse/WW-1425
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.