struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dusty <dustin_pea...@yahoo.com>
Subject Re: [S2] 2.2.1 possible freemarker template bug
Date Wed, 13 Oct 2010 06:00:17 GMT

Finally, some progress.....

web.xml

    <context-param>
        <param-name>templatePath</param-name>
        <param-value>template</param-value>
    </context-param>

It said in the source code that it can't be a relative path but for me
template is under my webroot.



Sean Ford wrote:
> 
> Hello,
> 
> We are experiencing some Freemarker theme issues after upgrading to
> Struts2 2.2.1. Our "simple" theme in our webroot is not correctly
> overloading the "simple" theme in the struts2 jar when referenced from
> within our custom FTL templates.
> 
> For example: myCustomUIComponent.ftl
> =SNIP=
> <@s.textfield theme="simple" ... />
> =SNIP=
> 
> The above textfield uses the jar's simple theme, not ours...
> 
> I havn't had too much time to debug this yet, but I wanted to throw
> this out to see if anyone else is having similar problems. We are
> currently using Struts2 2.1.8.1.
> 
> Thanks!
> Sean
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/-S2--2.2.1-possible-freemarker-template-bug-tp29462347p29949831.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message