forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertrand Delacretaz" <bdelacre...@apache.org>
Subject Re: Per-project i18n LocaleAction and LocaleMatcher configuration
Date Fri, 19 May 2006 15:38:42 GMT
On 5/19/06, Ross Gardler <rgardler@apache.org> wrote:

> ...Basically, you need to create a forrest.properties.xml 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?

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

-Bertrand

Mime
View raw message