cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stewart, Gary" <>
Subject Duplicate Results on CForms Repeat Bind
Date Wed, 22 Feb 2006 10:39:21 GMT
Hi there,

I've trying to bind a form to an XML document for both loading and saving and it works ok
loading a document (including the one initial repeat item) but if you create more items in
the repeat and use on-insert-row insert-node to create the XML I get the extra result plus
a repeat of the initial node so something like:






Do you know any reason why the repeat nodes might be occurring? I've looked at the form2 example
(which has a good example of repeats and binding) and I noticed that a unique id for each
row is generated (though it isn't declared unique in any way as far as I can see) I also noticed
that it includes row-state="new" though again this doesn't seem to do anything in particular.

I'm a bit stuck as to what I might be doing wrong and any pointers would be appreciated.



The information contained in this message may be confidential or 
legally privileged and is intended for the addressee only, If you 
have received this message in error or there are any problems, 
please notify the originator immediately. The unauthorised use, 
disclosure, copying or alteration of this message is 
strictly forbidden.

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

View raw message