cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Gerzabek <michael.gerza...@gmx.net>
Subject Re: JXTemplateGenerator
Date Thu, 02 Sep 2004 21:26:12 GMT
Doesn't work either. For the input

<test>${cocoon.session.STORE_NAME}</test>
<test>${cocoon.session.getAttribute("STORE_NAME")}</test>
<test>${cocoon.session.getAttribute('STORE_NAME')}</test>
<test>${cocoon.session/STORE_NAME}</test>
<test>#{cocoon.session.STORE_NAME}</test>

I get the results

<test />
<test />
<test />
<test>0</test>
<test />

I'm using C2.1.5.1.

Do I need input modules for that functionality?

Thanks,
Michael

At 21:59 02.09.2004, you wrote:
>Michael Gerzabek wrote:
>
>>Hello,
>>I'm not sure if this is a bug or me doing wrong:
>>I'm trying to access session attributes from JXTemplateGenerator as well as
>>sitemap parameters. I use
>>1.) <test>${parameters.getParameter("store")}</test>
>>2.) <test>${session.getAttribute("store")}</test>
>>3.) <test src="${session.store}"/>
>>4.) <test src="${request.store}"/>
>>except of 4.) nothing is working for me.
>>What am I doing wrong?
>>Thanks in advance
>>Michael
>should use $cocoon.session
>
>--
>Leszek Gawron                                      lgawron@mobilebox.pl


Mime
View raw message