struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alireza Fattahi <afatt...@yahoo.com>
Subject Extending Template
Date Tue, 09 Jul 2013 06:24:40 GMT
Hi,

I want to extend the css_xhtml.

1- /WEB-INF/classes/template/mytemp
2- Put the theme.properties in it .
3- Add the parent = css_xhtml
4- Update the the struts.xml as below:
    <constant name="struts.ui.theme" value="mytemp" />
    <constant name="sstruts.ui.templateDir" value="template" />
    <constant name="struts.ui.templateSuffix" value="ftl" />

I got below error:    

--------------------------------------------------

Error reading included file template/mytemp/controlheader.ftl
The problematic instruction:
----------
==> include "/${parameters.templateDir}/${parameters.theme}/controlheader.ftl" [on line
24, column 1 in template/css_xhtml/text.ftl]
----------

Template template/mytemp/controlheader.ftl not found.

 --------------------------------------------------

I expect that every thing should go fine !! I have just extended the template, should I copy
all the css_xhtml folder from struts2-core jar.

    

~Regards,
~~Alireza Fattahi
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message