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

Kin Blas jblas at adobe.com
Fri Sep 12 11:52:36 PDT 2008

Sounds reasonable.


--== Kin ==--



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/e6b53074/attachment.html 

More information about the IDE mailing list