forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <>
Subject Re: Per-project i18n LocaleAction and LocaleMatcher configuration
Date Fri, 19 May 2006 22:49:35 GMT
Bertrand Delacretaz wrote:
> On 5/19/06, Ross Gardler <> wrote:
>> ...Basically, you need to create a file, you 
>> can see
>> and example in the Daisy plugin in the whiteboard. You can add whatever
>> properties you want to this file and they will be axposed in the sitemap
>>   just like any other property...
> Ok, I see the idea.
> But this won't work for a component configuration, right? As in
> <map:action name="locale" src="org.apache.cocoon.acting.LocaleAction">
>  <use-locale>{project:i18n.use-browser-locale}</use-locale>
> </map:action>
> AFAIK properties are not resolved at this stage, do you have a workaround?

Hmmm... good point.

I'm afraid I can't think of a workaround right now.

> Unfortunately the LocaleAction and LocaleMatchers do not use
> <map:parameter> for options, they take all their config from the
> map:components section.

Sounds like a nice enhancement if it's simple to add.


View raw message