- From: T. V. Raman <tvraman@almaden.ibm.com>
- Date: Sat, 14 Jul 2001 11:05:50 -0700
- To: "Martin Nussbaumer" <martin@nussbaumers.de>
- Cc: "xforms" <www-forms@w3.org>
actually that label goes in sub-element caption of element choices -- <choices> <caption>group 1</caption> <item/> <item/> </choices> >>>>> "Martin" == Martin Nussbaumer <martin@nussbaumers.de> writes: Martin> Hi, you wrote in the Draft from 8/6/01, chapter Martin> 7.13.2.6 choices: "This element is used within Martin> list form controls to group items. This provides Martin> the same functionality as element optgroup in Martin> HTML 4.0. " Martin> I think there should be a attribute "label" for Martin> each <choices> for rendering like follows: Martin> XForms: <choices label="A"> <item/> <item/> Martin> </choices> <choices label="B"> <item/> <choices Martin> label="C"> <item/> </choices> </choices> Martin> rendered: optgroup A->item1 -> item2 Martin> optgroup B->item1 -> optGroupC->item1 Martin> ...... Martin> Greetings, Martin Nussbaumer Martin> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Martin> Transitional//EN"> <HTML><HEAD> <META Martin> content="text/html; charset=iso-8859-1" Martin> http-equiv=Content-Type> <META content="MSHTML Martin> 5.00.2920.0" name=GENERATOR> <STYLE></STYLE> Martin> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT Martin> face=Arial size=2>Hi,</FONT></DIV> Martin> <DIV> </DIV> <DIV><FONT face=Arial Martin> size=2>you wrote in the Draft from 8/6/01, Martin> chapter 7.13.2.6 choices:<BR>"This element is Martin> used within list form controls to group Martin> items. This provides the same functionality as Martin> element <CODE>optgroup</CODE> in HTML Martin> 4.0. "</FONT></DIV> <DIV> </DIV> Martin> <DIV> </DIV> <DIV><FONT face=Arial size=2>I Martin> think there should be a attribute "label" for Martin> each <choices> for rendering like Martin> follows:</FONT></DIV> <DIV><FONT face=Arial Martin> size=2></FONT> </DIV> <DIV><FONT face=Arial Martin> size=2>XForms:</FONT></DIV> <DIV><FONT Martin> face=Arial size=2><choices Martin> label="A"></FONT></DIV> <DIV><FONT face=Arial Martin> size=2> Martin> <item/></FONT></DIV> <DIV><FONT face=Arial Martin> size=2> Martin> <item/></FONT></DIV> <DIV><FONT face=Arial Martin> size=2></choices></FONT></DIV> <DIV><FONT Martin> face=Arial size=2> <DIV><FONT face=Arial Martin> size=2><choices label="B"></FONT></DIV> Martin> <DIV><FONT face=Arial size=2> Martin> <item/></FONT></DIV> <DIV><FONT face=Arial Martin> size=2> <choices Martin> label="C"></FONT></DIV> Martin> <DIV> Martin> <item/></DIV> <DIV> Martin> </choices></DIV> <DIV><FONT face=Arial Martin> size=2></choices></FONT></DIV></FONT></DIV> Martin> <DIV> </DIV> <DIV><FONT face=Arial Martin> size=2>rendered:</FONT></DIV> <DIV><FONT Martin> face=Arial size=2>optgroup Martin> A->item1</FONT></DIV> <DIV><FONT face=Arial Martin> size=2> Martin> Martin> ->item2</FONT></DIV> <DIV><FONT face=Arial Martin> size=2>optgroup B->item1</FONT></DIV> Martin> <DIV><FONT face=Arial size=2> Martin> Martin> Martin> ->optGroupC->item1</FONT></DIV> <DIV><FONT Martin> face=Arial size=2> Martin> Martin> ......</FONT></DIV> Martin> <DIV> </DIV> <DIV><FONT face=Arial Martin> size=2></FONT> </DIV> <DIV><FONT face=Arial Martin> size=2>Greetings,</FONT></DIV> <DIV><FONT Martin> face=Arial size=2>Martin Nussbaumer</FONT></DIV> Martin> <DIV> </DIV></BODY></HTML> -- Best Regards, --raman ------------------------------------------------------------ IBM Research: Human Language Technologies Phone: 1 (408) 927 2608 Fax: 1 (408) 927 3012 Email: tvraman@us.ibm.com WWW: http://www.cs.cornell.edu/home/raman PGP: http://emacspeak.sf.net/raman.asc Snail: IBM Almaden Research Center, 650 Harry Road San Jose 95120
Received on Saturday, 14 July 2001 14:07:41 UTC