[OpenAjaxIDE] What happens on <option> if there is no <label>?

Bertrand Le Roy Bertrand.Le.Roy at microsoft.com
Fri Sep 12 11:50:18 PDT 2008


From: ide-bounces at openajax.org [mailto:ide-bounces at openajax.org] On Behalf Of Jon Ferraiolo
Sent: Friday, September 12, 2008 11:41 AM
To: ide at openajax.org
Subject: [OpenAjaxIDE] What happens on <option> if there is no <label>?

Here is how <options> and <option> work today:

<parameter name="direction">
<option value="n"><label locid="north_string">North</label></option>
<option value="e"><label locid="east_string">East</label></option>
<option value="s"><label locid="south_string">South</label></option>
<option value="w"><label locid="west_string">West</label></option>

Right now the schema says that 'value' is required and <label> is optional. That makes sense. However, the spec doesn't say what happens if <label> is missing.

I propose that if <label> is missing, it defaults to the whatever the 'value' attribute is. Make sense?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openajax.org/pipermail/ide/attachments/20080912/d36783c6/attachment-0001.html 

More information about the IDE mailing list