cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mygrp <>
Subject flowscript
Date Mon, 17 Jan 2005 07:21:16 GMT

I have a simple flowscript with a function which will call a certain url.

The flowscript is calurl.js

function main()
 var id=cocoon.request.get("id");
 cocoon.sendPage("" +  id);

The sitemap pipeline is as follows

 <map:match pattern="fspa">
        <map:call function="main"/>
       <map:serialize type="html" />

However on execution the following error is seen:

line 4: uncaught JavaScript exception: at main
Line 4): java.lang.Exception: uri is not allowed to contain a scheme
(cocoon:/ is always automatically used)

What is this error do i correct this.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message