[OpenAjaxIDE] What happens on <option> if there is no <label>?
Jon Ferraiolo
jferrai at us.ibm.com
Fri Sep 12 11:40:54 PDT 2008
Here is how <options> and <option> work today:
<parameter name="direction">
<options>
<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>
</options>
</parameter>
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?
Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openajax.org/pipermail/ide/attachments/20080912/78760290/attachment.html
More information about the IDE
mailing list