cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sébastien Geindre <sebastien.gein...@meteo.fr>
Subject Re: global variable in C2.2
Date Fri, 12 Oct 2007 12:25:08 GMT
Thank you Leszek !
It's clear and simple !

Leszek Gawron a écrit :
> Sébastien Geindre wrote:
>> hi everybody !
>>
>> who could explain the 'best practice' way to get global variable in 
>> C2.2 ?
>>
>> foo.properties in META-INF/cocoon/properties
>> with foo=bar
>>
>> how get this foo variable in :
>> - sitemap
>
> use {global:foo}
>
>> - flowscript
> pass it from sitemap (maybe new object model gives access to 
> properties,  that is possible)
>
>> - xsl style sheet
> pass it from sitemap as you usually did
>
>> - own component
> use ${foo} in your applicationContext.xml that defines the component
>
>> - ..
>> ??
>>
>> Thanks for your time.
>>
>
>


-- 
Sébastien Geindre
DPREVI/AERO/DEV
sebastien.geindre __at__ meteo.fr




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message