On 01.09.2008 21:40, Andre Thenot wrote:

I'm getting an error with CForms when trying to use selection-lists. If I embed the fd:items in the form model, under fd:selection-list, everything works fine. But if I try to reference that list from elsewhere, using the @src attribute of fd:selection-list, I get the stacktrace below. I am using Cocoon 2.2 and running it within Jetty.

I've compared this with the samples but can't figure out what I'm doing wrong.

java.lang.NoSuchMethodError: org.apache.cocoon.components.source.SourceUtil.toSAX(Lorg/apache/excalibur/xmlizer/XMLizer;Lorg/apache/excalibur/source/Source;Ljava/lang/String;Lorg/xml/sax/ContentHandler;)V at org.apache.cocoon.forms.datatype.DynamicSelectionList.generateSaxFragment(DynamicSelectionList.java:105)

Hi Andre,

you must have a classpath issue. The jar that contains SourceUtil and the one with DynamicSelectionList are not compatible. NoSuchMethodError means that the according sources would not compile against each other.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to