Running Cocoon 2.1.8 - I have an application that works fine
on my local PC and on a test server.  When I deploy to a 
production server, I get a surprising error when I try to
access a javascript flow routine.  

The log file has this entry:

FOM_JavaScriptInterpreter: Function 'main' must have no declared arguments! 
Use cocoon.parameters to reach parameters passed from the sitemap into the 
function.

The sitemap call looks like this:
                                        
<map:match pattern="db/*.do">                   
   <map:call function="main">
     <map:parameter name="page" value="{1}"/>
   </map:call>                  
 </map:match>

and the flowscript function

function main(funName) {
 ...
}

Why would the flowscript work on one machine but not another?
Are there some deeply buried issues inside Cocoon we do not
know about?!

Any hints, ideas.... or solutions are appreciated!

Thanks
Derek




-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to