Thanks for the response.

but I suppose not having a context is your problem isn't?

Actually, the context does exist... I just need to access it somehow from a Hivemind component.

In the past I've used the Avalon component manager built into Cocoon and getting the context is straightforward... you implement the Contextualize interface in your component and record it.

So your Avalon component looks something like this...

public class MyComponentImpl extends AbstractLogEnabled implements MyComponent, Initializable, Contextulizable, ThreadSafe {
   private org.apache.cocoon.environment.Context cocoonContext;
   public void contextualize(Context context) {
cocoonContext = (org.apache.cocoon.environment.Context) context.get(Constants.CONTEXT_ENVIRONMENT_CONTEXT);
   }
   public void initialize() {
     doSomethingWith(cocoonContext);
   }
 }


I guess I was wondering what is the best way to achieve the same thing using the Hivemind component manager instead of Avalon.

Regards,
David Legg



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