Hello, 

Problem since 2013-12-12 with the new version "themes" and Struts2.3.16

https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2examples/themes 

in Struts-2.3.16
The new version 
A    
struts2examples\themes\src\main\webapp\template\KUTheme_simple\theme.properties
A    struts2examples\themes\src\main\webapp\template\KUTheme\theme.properties
U    struts2examples\themes\src\main\webapp\template\KUTheme\checkboxlist.ftl
U    struts2examples\themes\src\main\webapp\thankyou.jsp

But the problem with include ?  

( theme old with Struts2.3.15.3 is OK )



FreeMarker template error!


Error reading included file template/~~~KUTheme/controlheader-core.ftl
The problematic instruction:
----------
==> include 
"/${parameters.templateDir}/${parameters.expandTheme}/controlheader-core.ftl" 

[on line 23, column 1 in template/xhtml/controlheader.ftl]
 in include "/${parameters.templateDir}/xhtml/controlheader.ftl" [on line 1, 
column 1 in template/KUTheme/checkboxlist.ftl]
----------

Java backtrace for programmers:
----------
freemarker.template.TemplateException: Error reading included file 
template/~~~KUTheme/controlheader-core.ftl
    at freemarker.core.Include.accept(Include.java:167)
    at freemarker.core.Environment.visit(Environment.java:221)
    at freemarker.core.MixedContent.accept(MixedContent.java:92)
    at freemarker.core.Environment.visit(Environment.java:221)
    at freemarker.core.Environment.include(Environment.java:1508)
.../...
            <ol>
                        <li>Template template/~~~KUTheme/controlheader-core.ftl 
not found.</li>
                        <li>Error reading included file 
template/~~~KUTheme/controlheader-core.ftl</li>
                        <li>Error reading included file 
template/~~~KUTheme/controlheader-core.ftl - Class: freemarker.core.Include
File: Include.java
Method: accept.../...

Reply via email to