cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Rosenberger" <pieperm...@gmx.de>
Subject Re: Woody binding - How to debug?
Date Wed, 12 May 2004 16:21:07 GMT
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" <piepermail@gmx.de>
To: <users@cocoon.apache.org>
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message