W3C home > Mailing lists > Public > www-forms@w3.org > January 2003

Empty Repeats

From: Guillermo MenÚndez <gmcorral@terra.es>
Date: Tue, 21 Jan 2003 14:04:02 +0100
Message-ID: <003001c2c14d$92401130$0200a8c0@amd1700>
To: <www-forms@w3.org>
Hello, 

I was trying to find a way to make a Repeat structure that could have no initial elements, or at least that could display no elements when the form is loaded. This is because I'm using XForms to process external documents that maybe not always provide instance data for some of the Repeats. I have looked in the specification and it clearly says that initial instance data must be provided to construct the members to the homogeneous collection, but I though that maybe there is a way such as copying the repeat data from an inline instance, but I couldn't make it work. If anyone have any idea it would be very appreciated.

Another issue is that when deleting the last element of a Repeat structure, at least in X-smiles, it doesn't let you insert new nodes anymore, until the form is reloaded. Maybe this is only a bug of X-smiles, because the specification doesn't say anything about this.

Regards,

Guillermo
Received on Tuesday, 21 January 2003 08:04:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:54 GMT