W3C home > Mailing lists > Public > www-forms@w3.org > July 2001

<choices> without attributes ?

From: Martin Nussbaumer <martin@nussbaumers.de>
Date: Sat, 14 Jul 2001 14:51:21 +0200
Message-ID: <002501c10c64$0d870560$0300a8c0@notebook>
To: "xforms" <www-forms@w3.org>
Hi,

you wrote in the Draft from 8/6/01, chapter 7.13.2.6 choices:
"This element is used within list form controls to group items. This provides the same functionality as element optgroup in HTML 4.0. "


I think there should be a attribute "label" for each <choices> for rendering like follows:

XForms:
<choices label="A">
    <item/>
    <item/>
</choices>
<choices label="B">
    <item/>
    <choices label="C">
        <item/>
    </choices>
</choices>

rendered:
optgroup A->item1
                ->item2
optgroup B->item1
                ->optGroupC->item1
                ......


Greetings,
Martin Nussbaumer
Received on Saturday, 14 July 2001 08:51:45 GMT

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