Jeromy Evans - Blue Sky Minds wrote:
>
> mraible wrote:
>> I'm using 2.1.1-SNAPSHOT of the sitemesh and rest plugins.
>> FreeMarker/SiteMesh is working fine. However, I'm unable to use i18n tags
>> in
>> my decorator. In src/main/resources/com/company/app/package.properties, I
>> have:
>>
>> webapp.name=Foo
>> webapp.tagline=Bar
>>
>> In my decorators/default.ftl, I have:
>>
>> [EMAIL PROTECTED] name="webapp.name"/]
>>
>> And it renders:
>>
>> webapp.name
>>
>>
> I've committed an update to 2.1.1 that may affect this.
>
> However, my guess is that your action doesn't extend ActionSupport and
> there's no alternate TextProvider available. In that case, the first
> TextProvider found is the DefaultTextProvider which only serves
> resources from the global resource bundle. Does that sound right?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
Yes, that sound about right. My action is a POJO that only extends
ModelDriven.
--
View this message in context:
http://www.nabble.com/i18n-Tags-in-FreeMarker-Decorator-for-SiteMesh-tp16599500p16646077.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]