cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <reto.pe...@softwareag.com>
Subject FlowScript: cocoon.createSession() is not a function
Date Mon, 13 Dec 2004 08:46:37 GMT
I am using Cocoon 2.1.5.1 and got the following problem:
 
FlowScript: search
cocoon.load("resource://org/apache/cocoon/forms/flow/javascript/Form.js"
);
 
function search() {
    var form = new Form("forms/search_definition.xml");
    form.showForm("search-display");
    var collection = "Crawler";
    var pagesize = "5";
    var pagestart = "1";
    var model = form.getModel();
    cocoon.createSession();
 
and the the following error:
org.apache.avalon.framework.CascadingRuntimeException: createSession is
not a function
cause: TypeError: createSession is not a function
 
Why i cant use the createSession function?
Is it written in another way, or do I have to change any configuration?
 
Thanks for any help

Reto Peter


Mime
View raw message