struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: /struts2examples/themes and Struts2-3-16
Date Fri, 13 Dec 2013 13:45:59 GMT
Hi,

I'm not sure if I get what you mean, but I have updated that example
few hours ago - please update and check again.


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2013/12/13 Chris <christalkto@yahoo.fr>:
> 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.../...

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message