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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]