cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oceatoon <t.katelb...@systheo.com>
Subject Re: Repeater insert-node does not bind??
Date Thu, 18 Nov 2004 20:32:51 GMT
Thanks for the info Joerg
Allways good too know :)
Cheers
Tibor

Joerg Heinicke wrote:

> On 18.11.2004 15:31, oceatoon wrote:
>> I'm doing a basic repeater  widget with an add button,
>> I thought that when adding a row the new row would automatically bind to
>> the insert-node (<item id="" key="cocorico" qte="0"/>)but my key is
>> allways empty??? So in the mean time I'm doing it through flow. But am I
>> doing somthing wrong, is this supposed to be like this ?
> 
> Ah, I think I know what you want to do. Immediately after adding a new
> row you want to have some values prefilled? The binding happens just on
> form.save(xml). Only at that time the item node is inserted. Before it's
> just a matter of the form without any binding involved. This is
> something for flowscript indeed. It should be possible using
> fd:repeater-action specifying fd:on-activate I think:
> http://cocoon.apache.org/2.1/userdocs/forms/widget_repeater_action.html
> 
> Joerg



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


Mime
View raw message