cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Punte <steve17...@yahoo.com>
Subject How to obtain org.apache.cocoon.environment.Environment?
Date Mon, 20 May 2002 19:15:05 GMT
Dear Cocoon User Group:

  How does one obtain the
  org.apache.cocoon.environment.Environment?

  I've trying:

  public void setup( .... ) {
    environment =
(Environment)(objectModel.get(Constants.CONTEXT_ENVIRONMENT_CONTEXT));
  }

  As how one obtains session and request, but the
  above always returns null.  

  Cocoon 2.0.2.

  Thanks in advance.

  Steve Punte


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message