Hi Jan,
it seems me that a implementation of 'AbstractJavaSelectionList' can also implements 'org.apache.avalon.framework.context.Contextualizable' ... This interface declares a 'contextualize' method with a 'org.apache.avalon.framework.context.Context' parameter. You can save the context in your object and use it to get the Request like:

class ASample implements Contextualizable {
private Context context=null;
   public void contextualize(Context context) {
       this.context=context;
   }

   public void doSomething() {
           Map objModel=ContextHelper.getObjectModel(context);
           Request r=ObjectModelHelper.getRequest(objModel);
           r.getSession();
   }
}

I don't try this for Request but in my application I use this way to get a 'org.apache.cocoon.environment.Context' and it works.

Good luck
Eiko



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

Reply via email to