cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Pope" <>
Subject RE: CForms, Binding, Flowscript (Cocoon 2.1.5)
Date Mon, 19 Jul 2004 22:41:49 GMT
Hi Vilya,

I appreciate your help - you got it working!

I changed my form binding file to:

<fb:context xmlns:fb=""
xmlns:fd="" path="/data">
	<fb:repeater id="reports" parent-path="reports" row-path="report" >
			<fb:value id="number" path="number"/>
			<fb:value id="number" path="number"/>
			<fb:value id="date" path="date">
				<fd:convertor datatype="date"/>
				<report id="" row-state="new">

As you suggested (and included a bit of path cleaning up)

And it works,

Nice one.



-----Original Message-----
From: Vilya Harvey [] 
Sent: 19 July 2004 12:01
Subject: Re: CForms, Binding, Flowscript (Cocoon 2.1.5)

Ben Pope wrote:
> I've been following the blocks/forms/XML Binding example without 
> complete success.  It will bind quite happily to the CForms, it will 
> map changes back to the XML, but only when the row "number" already

I've only had a quick look through your example, but I think you need to add
an <fb:on-insert-row> element to your binding. Have a look at the binding
framework documentation
( for
more info on how to use it.

Hope that helps,
    o|   _. /  \|o._  _  _ ._  _  ._  _ _|_
\/ ||\/(_|| (|/||| |(/_(_)| |(/_o| |(/_ |_
      /     \__

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

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

View raw message