cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject RE: Woody repeater with flow
Date Sun, 23 Nov 2003 15:19:16 GMT
On Fri, 2003-11-21 at 17:56, JD Daniels wrote:
> No.. sigh
> 
> I just don't get it :S
> 

Problem is in the binding:

> > Binding:
> >
> > <wb:context xmlns:wb="http://apache.org/cocoon/woody/binding/1.0"
> > xmlns:wd="http://apache.org/cocoon/woody/definition/1.0" path="/">
> > 	<wb:value id="ticket" path="results/ticket"/>
<snip/>

You can't bind a repeater using <wb:value>. wb:value binds the value of
a widget, but a repeater has no value, it contains rows which in turn
contain widgets. To bind a repeater you should use wb:repeater and
related elements. The woody samples show how to do this, and there's
also some basic documentation (not very educational right now, but
should at least make you aware of the existance of the tags).

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@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