Joerg Heinicke wrote:
On 13.03.2008 06:21, Patrick Heiden wrote:

Could somebody please explain in wich order springs application context is created (out of all 'block-specific' contexts inside META-INF/cocoon/spring/*.xml).

I don't think the order of the block's spring.xml matter since AFAIK a child context is created for every block extending a common parent context. So inside a block you only have access to the block's beans and the one from the parent context.

that's not correct: All bean declared in META-INF/cocoon/spring/*.xml are loaded into the global application context. The files are ordered alphabetically.

There also exist *sitemap* local beans which are only available from within a particular sitemap.

--
Reinhard Pötz                            Managing Director, {Indoqa} GmbH
                          http://www.indoqa.com/en/people/reinhard.poetz/

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member, PMC Chair        [EMAIL PROTECTED]
_________________________________________________________________________

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

Reply via email to