cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Johnston <coc...@lojjic.net>
Subject Re: Binding and <fd:group>
Date Wed, 31 May 2006 13:47:03 GMT
cocoon.erard wrote:
> Hello, 
> 
> I've a problem with a small binding example I'm currently trying.
> 
> in my model if have. 
> 
> <fd:widgets>
> <fd:group id="page1">
>   <fd:field id="name">
>     <fd:datatype base="string"/>
>   </fd:field>
>   <fd:action id="next">
>     <fd:label>Next</fd:label>
> [...]
> </fd:group>

I believe you need to wrap the fd:group's child widgets within an 
<fd:widgets></fd:widgets>, at least that's what the docs show.

> 
> and in my Binding file: 
> 
> fb:context xmlns:fb="http://apache.org/cocoon/forms/1.0#binding" 
> 	   xmlns:fd="http://apache.org/cocoon/forms/1.0#definition" path="." >
> 	
> <fb:group id="page1" path=".">	
>   <fb:value id="name" path="name"/>
> </fb:group>
> [...]
> 
> I don't see any misstake, but allway receive the message: Widget "name" does not exist
in the container "page1" (fd:group -...
> 
> Does someone see whats going wrong?
> 
> Thanks mike 
> 
> 
> ____________________________________________
> QuickLine WebMail - http://www.QuickLine.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message