[ https://issues.apache.org/struts/browse/WW-3291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Musachy Barroso updated WW-3291:
--------------------------------
Attachment: WW-3291+WW-3296.diff
patch provided by Chistian Stone
> Update sitemesh-plugin to use version 2.4.2. (CLONE, CATCHALL).
> ----------------------------------------------------------------
>
> Key: WW-3291
> URL: https://issues.apache.org/struts/browse/WW-3291
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - SiteMesh
> Affects Versions: 2.1.6, 2.1.8
> Environment: JDK 1.5+, Struts 2.1.6+ & SiteMesh 2.4+
> Reporter: Christian Wolfgang Stone
> Assignee: Christian Wolfgang Stone
> Priority: Critical
> Fix For: 2.2.0
>
> Attachments: WW-3291+WW-3296.diff, WW-3291.diff
>
>
> Catch-all bug for the following bugs: WW-3116 (marked as resolved, not fixed), WW-1128
(should now work on 2.4 and lower), WW-3275 (very good description),
> Detailed description of this issue can be found in the following discussion thread.
> http://www.nabble.com/Struts-2.1.8-%2B-SiteMesh-2.4.2-%2B-FreeMarkerPageFilter-Broken-td25721587.html
> I am attaching a patch that updates the struts2-sitemesh plugin to use the more current
SiteMeshPageFilter.java class. The old code was deprecated and deleted from the sitemesh
with the 2.4.2 release!
> The new files are as follows. I am testing the freemarker extensively, and will test
the velocity a bit later. Please test both and let me know if there are any problems.
> FreeMarkerMapper2DecoratorSelector.java OldDecorator2NewStrutsDecorator.java VelocityMapper2DecoratorSelector.java
> FreeMarkerPageFilter.java OldDecorator2NewStrutsFreemarkerDecorator.java VelocityPageFilter.java
> NoneDecoratorMapper.java OldDecorator2NewStrutsVelocityDecorator.java
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|