cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lionel Crine <cr...@4dconcept.fr>
Subject Re: [flowscript] Error using handleForm
Date Fri, 29 Apr 2005 09:02:17 GMT
I changed my "match pattern" from "myFunction" to "MyFunction.flow".

Don't know why It works.

Lionel

Lionel Crine wrote:

> 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
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>

-- 
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