AFAIK the function name "import" ist used by javascript engine itself. try to rename your function.
hth Frank ----- Original Message ----- From: Claus Straube To: [email protected] Sent: Wednesday, February 23, 2005 7:24 PM Subject: Flowscriptproblem - Syntax Error Hello, I always get this error message if I try to run the ,import()' function. cause: SyntaxError: missing ( before function parameters (file:/C:/Apache Group/Tomcat 5.5/webapps/cocoon/bme/flow/importflow.js; line 1) 1 function import() { 2 3 var part; ... 42 } I call the 'import()' function with this matcher: <map:match pattern="protected_*.flow"> <map:call function="{1}"/> </map:match> I don't know what this error message means - the missing bracket is there, as you can see. So what can be the problem? Best regards - Claus __________________________________________ Claus Straube Franc�strasse 31 80997 M�nchen +49 (089) 14 16 682 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
