Sitemesh should share the custom freemarker Manager 
----------------------------------------------------

                 Key: WW-2841
                 URL: https://issues.apache.org/struts/browse/WW-2841
             Project: Struts 2
          Issue Type: Bug
            Reporter: Sami Dalouche


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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to