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