Chris <christalkto <at> yahoo.fr> writes:
>
> 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.propert
ies
> 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.../...
Did you create the custom theme with on Struts version and then try to
upgrade to Struts2.3.16? I suspect the files copied over during theme
creation don't include changes to 2.3.16.
https://issues.apache.org/jira/browse/WW-4145?
jql=project%20%3D%20WW%20AND%20fixVersion%20%3D%20%222.3.16%22%20ORDER%20BY%
20updated%20DESC%2C%20priority%20DESC%2C%20created%20ASC
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org