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
begin:vcard fn:Lionel Crine n:Crine;Lionel adr:;;22 rue Etienne de Jouy;JOUY EN JOSAS;;78353;FRANCE email;internet:[EMAIL PROTECTED] title:documentary systems engineer tel;work:01.34.58.70.70 tel;fax:01.39.46.06.90 x-mozilla-html:FALSE url:http://www.4dconcept.fr version:2.1 end:vcard
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
