You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Updated) (JIRA)" <ji...@apache.org> on 2011/12/06 09:55:40 UTC
[jira] [Updated] (WW-2841) Sitemesh should share the custom
freemarker Manager
[ https://issues.apache.org/jira/browse/WW-2841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart updated WW-2841:
------------------------------
Fix Version/s: (was: Future)
2.3.1
> Sitemesh should share the custom freemarker Manager
> ----------------------------------------------------
>
> Key: WW-2841
> URL: https://issues.apache.org/jira/browse/WW-2841
> Project: Struts 2
> Issue Type: Bug
> Reporter: Sami Dalouche
> Fix For: 2.3.1
>
>
> How to reproduce :
> - Define a custom freemarker manager (in spring, for instance, called "customFreemarkerManager")
> <constant name="struts.freemarker.manager.classname" value="customFreemarkerManager" />
> - Use sitemesh
> in any page's view,
> <#assign test="value" />
> in Sitemesh decorator :
> ${test}
> => it will fail, since sitemesh and struts do not share the same freemarker manager.
> Struts should configure sitemesh freemarker page filter to use the same freemarker manager by default, or if impossible, should document how to share it.
> (is it even possible to share the freemarker manager ??)
> regards,
> sami dalouche
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira