cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: Request object with ServiceManager
Date Mon, 07 Nov 2005 13:57:02 GMT
Upayavira wrote:
> Felix Röthenbacher wrote:
>> Cocoon 2.1.x, Java
> Map om = CocoonComponentManager.getCurrentEnvironment().getObjectModel();

Eek! Althought this works, this is an internal class that no more exists 
in the 2.2 branch!

The best is if you have an Avalon context at hand (in an Avalon 
component, implement the Contextualizable interface).

You can then get the object model in a future-proof way using 


Sylvain Wallez                        Anyware Technologies
Apache Software Foundation Member     Research & Technology Director

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message