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

Re: xf:switch inside xf:repeat ...

From: Clark, John <CLARKJ2@ccf.org>
Date: Thu, 18 Jan 2007 16:03:43 -0500
Message-ID: <F122C25B4CD6F34BB119A97593679601027CA7E8@CCHSCLEXMB59.cc.ad.cchs.net>
To: www-forms@w3.org
Aaron Reed wrote:
> Does anyone have a testcase for this erratum so that we know if we 
> implemented it correctly?  Will a testcase be added to the testsuite?

The attached XForms snippet should provide the basis for a partial
testcase of this functionality, as the IDs clearly get repeated.  In
this snippet, a user can add an unbounded number of children to a root
element using a repeat block; each of these children have three data
attributes. The XForms interface starts with a data entry field for each
attribute of each child element, and then allows the user to switch to a
summary view of the data.  I would be happy to work with anyone to turn
this into a proper use case; let me know.

Take care,

    John L. Clark  |  Systems Analyst    |  Cardio-Thoracic Surgery
 Cleveland Clinic  |  9500 Euclid Ave.   |  Cleveland, OH 44195  | (216)

Cleveland Clinic is ranked one of the top 3 hospitals in
America by U.S.News & World Report. Visit us online at
http://www.clevelandclinic.org for a complete listing of
our services, staff and locations.

Confidentiality Note:  This message is intended for use
only by the individual or entity to which it is addressed
and may contain information that is privileged,
confidential, and exempt from disclosure under applicable
law.  If the reader of this message is not the intended
recipient or the employee or agent responsible for
delivering the message to the intended recipient, you are
hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.  If
you have received this communication in error,  please
contact the sender immediately and destroy the material in
its entirety, whether electronic or hard copy.  Thank you.


Received on Thursday, 18 January 2007 21:14:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:19 UTC