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

Tom Schneider resolved WW-1774.
-------------------------------

       Resolution: Not A Problem
    Fix Version/s: 2.1.0
                   2.0.7

This behavior is working as designed.  The hidden.ftl should not be added to 
the xhtml theme because then it would be duplicated in the simple and the xhtml 
theme.  The proper way to handle this problem is WW-1661.  This will fix all 
the caching issues for freemarker, not just this instance.

> By default hidden.ftl will not be cached
> ----------------------------------------
>
>                 Key: WW-1774
>                 URL: https://issues.apache.org/struts/browse/WW-1774
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Views
>    Affects Versions: 2.0.6
>            Reporter: Zheng Shuai
>             Fix For: 2.0.7, 2.1.0
>
>
> When using a s:hidden tag, if no any theme is set, the system will pick up as 
> "xhtml", but there is no template/xhtml/hidden.ftl in the distribution.
> So the system will fail to cache it and recompile the 
> template/simple/hidden.ftl everytime for a s:hidden tag.
> Walk around solution: assign the theme as simple.
> But I hope in the later version, this can be solved by change the default 
> theme to simple or add a template/xhtml/hidden.ftl.

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