cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lionel Crine <cr...@4dconcept.fr>
Subject [flowscript] Error using handleForm
Date Thu, 28 Apr 2005 13:07:53 GMT
Hi all,

I'm trying to call a custom function from the 'HandleForm' function (in 
Forms.js) and I always get an error message:


My sitemap :

        <map:call function="handleForm">
          <map:parameter name="function" value="myFunction"/>
          <map:parameter name="form-definition" 
value="forms/form_creation_definition.xml"/>
          <map:parameter name="documentURI" 
value="xml/module_properties.xml"/>
        </map:call>


The Error :


  An Error Occurred

at handleForm 
(resource://org/apache/cocoon/forms/flow/javascript/Form.js, Line 281): 
"myFunction" is not a function.

org.apache.avalon.framework.CascadingRuntimeException: 
"resource://org/apache/cocoon/forms/flow/javascript/Form.js", line 281: 
uncaught JavaScript exception: at handleForm 
(resource://org/apache/cocoon/forms/flow/javascript/Form.js, Line 281): 
"myFunction" is not a function.







Any hint ?


Lionel

-- 
Lionel CRINE
Ingénieur Systèmes documentaires
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.46.06.90


Mime
View raw message