struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zoran Avtarovski <zo...@sparecreative.com>
Subject Re: Cascading Nature of Templates and Themes
Date Tue, 05 May 2015 04:55:58 GMT
Thanks for the pointer Lucasz.

One thing I did notice was that some of my files didn’t use the
${parameters.expandTheme} parameter, but instead just had plain old
${parameters.theme} in the free marker templates.

I’ll make the changes and I’m pretty sure that should resolve the issue.

Again thanks for the help.

Z.


On 1/05/2015 6:23 pm, "Lukasz Lenart" <lukaszlenart@apache.org> wrote:

>2015-05-01 1:32 GMT+02:00 Zoran Avtarovski <zoran@sparecreative.com>:
>> We¹ve started a new project which required a custom theme which we call
>> mobile and we set it to extend the simple theme by creating a
>> theme.properties file and setting parent=simple.
>>
>> Unfortunately this isn¹t working. It has in the past without any
>>issues. Has
>> something changed in the latest version of struts that would explain
>>this?
>>
>> We are using struts 2.3.20 and freemarker 2.3.19 if it makes any
>>difference.
>
>Strange, the same mechanism is used by Struts itself. Can you show
>project's structure? Or prepare a small demo app to represent your
>case?
>
>Here you have some examples:
>https://github.com/apache/struts-examples/tree/master/themes
>https://github.com/apache/struts-examples/tree/master/themes_override
>
>
>Regards
>-- 
>Łukasz
>+ 48 606 323 122 http://www.lenart.org.pl/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>



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


Mime
View raw message