Forgot to mention that if I want to save the document I get the error:
org.apache.commons.jxpath.JXPathException: Exception trying to create xpath /data/wrapper/context; java.lang.ClassCastExceptionMaybe this error is caused by the same as the missing values in form.Regards,Christian


----- Original Message ----- From: "Christian Rosenberger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 12, 2004 6:16 PM
Subject: Woody binding - How to debug?



Hello!

As mentioned in another posting this morning, I try to use the Woody binding framework to bind to a XML file got by an java class.

I have specified similar to the XML binding samples my sitemap:

<map:match pattern="form2xml.flow">
<map:call function="woody">
<map:parameter name="function" value="form2xml"/>
<map:parameter name="form-definition" value="forms/wd_info.xml"/>
<map:parameter name="documentURI" value="http://localhost/info.xml"/>
<map:parameter name="bindingURI" value="forms/wb_info.xml"/>
</map:call>
</map:match>


Alternative parameter f�r documentURI:
<map:parameter name="documentURI" value="cocoon:/getData?ID={request-param:ID}"/>


My form appears, but without any data filled in.

How can I debug the binding? There is no logging in WEB-INF/logs for the binding.

Need to now, why the values are not filled in.

Regards,
Christian






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



Reply via email to