cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oceatoon <>
Subject Re: jxtemplate: cocoon.request.locale??
Date Thu, 20 Jan 2005 14:59:03 GMT
Hi Jan

> The variables ${cocoon} and ${cocoon.request.locale} should have values.
> (if I use them in my jx, I do get an object/locale) Are you using jx
> correctly (generator type="jx", or transformer)? Can you give more
> information regarding the context?
This is what I thought, here is my use case
I call /home/europe?locale=fr
where url is a xml file containing jx code 
processed by 
<map:match pattern="home/*">
     <map:act type="locale">
         <map:generate type="jx" src="public/home_jx.xml" label="display">
                        <map:parameter name="language" value="{language}"/>
                        <map:parameter name="country" value="{../1}"/>
             <map:call resource="xslt_i18n_xhtml"/>

and in my home_jx.xml I have ${cocoon.request.locale} that comes out
empty ??

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message