[ 
https://issues.apache.org/jira/browse/WW-3330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maurizio Cucchiara updated WW-3330:
-----------------------------------

    Attachment: WW-3330.patch

Setting null value to content type sounds like "don't do this at home" :) 
The attached patch solves the problem,  emulating the behavior you suggested.
You should put these few line at the bottom of web.xml file.

    <env-entry>
        <env-entry-name>sitemesh.factory</env-entry-name>
        <env-entry-type>java.lang.String</env-entry-type>
        
<env-entry-value>org.apache.struts2.sitemesh.StrutsSiteMeshFactory</env-entry-value>
    </env-entry>

Please let me know, if it doesn't work.




> <@s.action> broken in sitemesh freemarker decorator page
> --------------------------------------------------------
>
>                 Key: WW-3330
>                 URL: https://issues.apache.org/jira/browse/WW-3330
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - SiteMesh
>            Reporter: zhouyanming
>            Priority: Blocker
>             Fix For: Future
>
>         Attachments: WW-3330.patch
>
>
> broken since this patch   https://issues.apache.org/struts/browse/WW-3291 
> <div id="left"><@s.action name="left" executeResult="true" /></div>
> <div id="content">${body}</div>
> <div id="right"><@s.action name="right" executeResult="true" /></div>

-- 
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