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

Jonathan Doklovic commented on WW-1744:
---------------------------------------

This is actually "almost" supported in 2.2.0
Basically if you do something like:

<#assign pg=JspTaglibs["http://www.opensymphony.com/sitemesh/page";]>
... some stuff here ...
<@pg.applyDecorator page="/some-other-page.ftl" name="some-other-decorator" />

in a freemarker decorator and the main result page you're decorating is a jsp 
page, it works.

However, if the main result page you're decorating is a freemarker page, it 
doesn't.
When you try to run it on a freemarker result, you don't get any errors, it 
just skips the content (possibly ignoring applyDecorator altogether)

I've also been able to confirm that when trying this with a freemarker result, 
the JspTaglibs and the page.applyDecorator tags *are* available to freemarker

> Support Sitemesh's applyDecorator tag using Freemarker Transform
> ----------------------------------------------------------------
>
>                 Key: WW-1744
>                 URL: https://issues.apache.org/jira/browse/WW-1744
>             Project: Struts 2
>          Issue Type: Improvement
>            Reporter: tm_jee
>             Fix For: 2.2.x
>
>
> 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.

Reply via email to