cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <u....@cbim.it>
Subject Re: Getting an X from a FOM_X
Date Fri, 01 Aug 2003 21:29:06 GMT
Christopher Oliver wrote:
> FOM_Cocoon has Java methods to get the Request, Response, Session, and
> Context, and ComponentManager.

Like this one, I suppose:

    /**
      * Get the current request
      * @return The request
      */
     public Request getRequest() {
         return jsGet_request().request;
     }

But is it callable from Javascript? If I try to call 
"cocoon.getRequest()" I get this exception:

org.apache.avalon.framework.CascadingRuntimeException: getRequest is not 
a function".

	Ugo


Mime
View raw message