cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agsoftware.dnsalias.com>
Subject [Cform] binding sample broken
Date Sun, 04 Jan 2004 09:26:44 GMT
Hi:

This sample:
http://localhost:8080/cocoon/samples/woody/form2bean.flow

currently is not working, throw an error page.

Best Regards,

Antonio Gallardo

Original Exception: java.lang.RuntimeException: Incorrect value type for
"number" (expected class java.lang.Long, got class java.lang.Integer.
	at org.apache.cocoon.woody.formmodel.Field.setValue(Field.java:171)
	at
org.apache.cocoon.woody.binding.ValueJXPathBinding.doLoad(ValueJXPathBinding.java:127)
	at
org.apache.cocoon.woody.binding.JXPathBindingBase.loadFormFromModel(JXPathBindingBase.java:159)
	at
org.apache.cocoon.woody.binding.ComposedJXPathBindingBase.doLoad(ComposedJXPathBindingBase.java:129)
	at
org.apache.cocoon.woody.binding.ContextJXPathBinding.doLoad(ContextJXPathBinding.java:85)
	at
org.apache.cocoon.woody.binding.JXPathBindingBase.loadFormFromModel(JXPathBindingBase.java:159)
	at
org.apache.cocoon.woody.binding.JXPathBindingBase.loadFormFromModel(JXPathBindingBase.java:175)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:230)
	at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)


Mime
View raw message