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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to