cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: [C2]: What happened to Roles.COCOON?
Date Fri, 16 Feb 2001 13:48:16 GMT
Carsten Ziegeler wrote:
> 
> Hi,
> 
> after updating to the latest CVS the Roles.COCOON has disappeared!
> 
> Was this removing intentionally? And why?
> 
> How can I get the Cocoon instance now? A simple ComponentManger.lookup(Roles.COCOON)
does of course not work anymore.

Yes it is intentional.  Any information that you would have gotten
from the Cocoon object can be gotten from the App Context object.
Make your class Contextualizable, and get your info from the
Context that was passed to you.

Mime
View raw message