cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Katharina Geissler <>
Subject Binding of boolean value (CForms)
Date Fri, 23 Jul 2004 09:47:01 GMT
Hi there,

if got a problem with the binding of an boolean value. It displays well  
and also sets the attribute of the checkbox correctly, but when I'm  
trying to send the form, I get the following error:

org.apache.commons.jxpath.JXPathException: Exception trying to create  
xpath koordination-phasen-beginn/bereitstellung-instruktion/@checkbox;  
Cannot create an attribute for path  
operation is not allowed for this type of node

This is my binding-code (fragment):

<fb:context path="lernprozess-detailplanung">
     <fb:repeater id="koordination-lernaktivitaeten"

             <fb:value id="id" path="@id">
                  <!--optional convertor to use for mapping the unique  
                 <fd:convertor datatype="long" />

             <fb:value id="bereitstellung-instruktion"   
                 <fd:convertor datatype="boolean" type="plain"/>


             <koordination-lernaktivitaeten-phase id="" row-state="new">


I don't know what I'm doing wrong ... I have done this before and never  
had a problem whit that. The only difference to my previous forms ist,  
that now the booleanfield is inside a repeater. But that shoudn't make  
any difference, or should ist?

Thanx for any advice,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message