- From: Mark Birbeck <mark.birbeck@x-port.net>
- Date: Thu, 16 Jun 2005 18:16:57 +0200
- To: "'Micah Dubinko'" <micah@dubinko.info>
- Cc: <www-forms@w3.org>
Micah, > One place where I think > labels-separate-from-individual-controls makes sense is > repeating sections. > > Say a repeat has > Quantity/Description/PartNumber/Price/Extension. It would be > nice for a way to mark up the labels once, with the controls > repeating underneath (instead of the labels repeating with > each additional line item). But that should be done either with xf:output, or better still with @appearance="compact" on xf:repeat, which a number of processors now support. This indicates that you want the labels of all form controls to 'appear' only once--in a voice system that means just read them once at the beginning of the repeat, whilst in a GUI that probably means show column headers. If you have formsPlayer installed then you can see an example of what I mean, at: <http://www.formsplayer.com/demo/foaf/foaf-creator.html> The 'Friends' tab has a xf:repeat with a 'grid'. Note that any xf:label on any top-level control is moved to the first row of the xf:repeat, and then the rest of the control is rendered multiple times in that column. This works for images, as well. Note that if you want to have a xf:trigger on each row, with its own image, you put that in a xf:group with a xf:label. There's an example of this in the form, too. Regards, Mark Mark Birbeck CEO x-port.net Ltd. e: Mark.Birbeck@x-port.net t: +44 (0) 20 7689 9232 w: http://www.formsPlayer.com/ b: http://internet-apps.blogspot.com/ Download our XForms processor from http://www.formsPlayer.com/
Received on Thursday, 16 June 2005 16:17:26 UTC