On 02.07.2004 11:31, Colin Paul Adams wrote:

It seems to me there is something seriously wrong with the binding to
xml file sample.

If I add a new row to the table at the bottom, I get the following XML
output:

...

Note that the id field for the new row is an empty attribute.

This is no good - if the repeater widget requires unique ids (and note
that these if attributes are not of type ID or xs:ID as they do not
begin with a letter, but that's another issue), then why is there not
an id assigned to the new row?

If two rows were added, immediately  the ids would no longer be
unique.
And if this data file were read in again, there would be a problem.

I would not see the behaviour of the binding as a problem, only the result of having not unique ids. I think that was let out with intent. It's up to you to do it either after form processing or in the binding itself. There is a fb:javascript where you can code id generation for example. Everything else (i.e. adding the functionality in what way ever to cforms) would be an enhancement IMO.


Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to