On Mon, 2008-04-28 at 23:38 -0700, dynnamitt wrote:
> I just read this art.:
> http://wiki.apache.org/cocoon/SitemapVariableSubstitution
> 
> Q: How can I reach variables set in parent-sitemap?
> 
>  I wanna use a <map:act type="locale"> i a central xmap file and then do
> different mounts into sub-sitemaps and then
> reuse the {locale} variable.........
> 
> ??

The LocaleAction has a configuration parameter

   <store-in-request>true</store-in-request>

which stores the value in a request attribute "locale".
That value can then be used anywhere in the sitemap as
{request-attr:locale}.

HTH, Alfred.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to