You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Johnson <jo...@soho.club.tw> on 2005/06/02 11:46:18 UTC
Form.showform problem
Hi!
I'm try to use AJAX so I upgrade my cocoon to 2.1.8-dev.
when form.showform the cocoon hang with
The choice of Java constructor java.lang.String matching JavaScript argument types (null) is ambiguous; candidate constructors are: (java.lang.String), (byte[]), (java.lang.StringBuffer), (java.lang.StringBuilder), (char[])
org.apache.avalon.framework.CascadingRuntimeException: uncaught JavaScript exception: at heater (file:/d:/Tomcat55/webapps/cocoon/magic/flow/heater1.js, Line 64) at (resource://org/apache/cocoon/forms/flow/javascript/v2/Form.js, Line 127): org.mozilla.javascript.EvaluatorException: The choice of Java constructor java.lang.String matching JavaScript argument types (null) is ambiguous; candidate constructors are: (java.lang.String), (byte[]), (java.lang.StringBuffer), (java.lang.StringBuilder), (char[])
the line 64 in heater.js is
form.showForm("heater1-display-pipeline");
the line in form.js 127 is
var finished = javaWidget.process(formContext);
is there anything changed from 2.1.7 to 2.1.8-dev
Best Regards
Johnson