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 ? Thanks for the help Tibor
Joerg Heinicke wrote: > On 16.11.2004 10:46, oceatoon wrote: > >> So I'm back to my first question, because I had the initial binding for >> my repeater , I thought I had to add another bind in the on-insert-row. >> but it doesn't bind on creation of the new node, > > Ok. > >> *************************************************************** >> <fb:repeater id="beds" parent-path="beds" row-path="item"> >> <fb:identity> >> <fb:value id="idbed" path="@id"> >> <fd:convertor datatype="long"/> >> </fb:value> >> </fb:identity> >> >> <fb:on-bind> >> <fb:value id="size" path="@key" direction="load"/> >> <fb:value id="bedquanti" path="@qte"><fd:convertor >> datatype="string"/></fb:value> >> </fb:on-bind> >> >> <fb:on-insert-row> >> <fb:insert-node> >> <item id="" key="cocorico" qte="0"/> >> </fb:insert-node> >> </fb:on-insert-row> >> </fb:repeater> >> >> Even though I get my new row on insert-node but the "size" widget doesn't >> take the "cocorico" value set as the initial value of the newly inserted >> node ?? > > Hey, but that's something completely different :-) Can you describe you > use case? It's difficult to understand the goal of it. > > Joerg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
