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



Reply via email to