Christofer Dutz wrote:
Hi,
I am sort of new to CForms and am working myself into them at the
moment. Unfortunately I ran into problems when using radio-buttons in my
CForms.
Everytime a radio-button is checked in a Form i get the folowing error:
Message: Class cannot be casted to array
Description: org.apache.avalon.framework.CascadingRuntimeException:
"resource://org/apache/cocoon/forms/flow/javascript/Form.js", line 144:
uncaught JavaScript exception: at showCart
(file:/D:/home/domains/192.168.42.20/shop/flows/testShop.js, Line 59) at
(resource://org/apache/cocoon/forms/flow/javascript/Form.js, Line 144):
java.lang.ClassCastException: Class cannot be casted to array
Here the entire stacktrace:
full exception chain stacktrace:
org.apache.avalon.framework.CascadingRuntimeException:
"resource://org/apache/cocoon/forms/flow/javascript/Form.js", line 144:
uncaught JavaScript exception: at showCart
(file:/D:/home/domains/192.168.42.20/shop/flows/testShop.js, Line 59)
at (resource://org/apache/cocoon/forms/flow/javascript/Form.js, Line 144):
java.lang.ClassCastException: Class cannot be casted to array
Presumably a syntax error in the declaration of where you're storing the
info...
Are you using binding, or doing ot from flow, or...?
Post that here and it might be obvious to somebody.
Ben Pope
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]