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.



--
Leszek Gawron                         http://www.mobilebox.pl/krs.html
CTO at MobileBox Ltd.


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

Reply via email to