Hello,

Once again, I've looked through the archives but have a feeling I'm not being effective with my search terms.

I'm using a Rails app to popuplate a ComboBox.  The backend returns XML and I assign it directly as the ComboBox's dataProvider:

<option selected="false">
     <label>Auto Select</label>
     <data>0</data>
</option>
<option selected="true">
     <label>username</label>
     <data>1</data>
</option>
<option selected="false">
     <label>username33</label>
     <data>2</data>
</option>


The ComboBox is populated correctly, but it ignores the selected="true" attribute.  I tried making it a child node as well, with the same results.

I have control over the Rails app, so I just need to know if I can specify the selected item of the ComboBox through the DataProvider API (and specifically XML).


This seems SO simple and I feel silly for asking it, but I've had a hard time finding it.  I really did look hard for the answer, I promise!


Please let me know if anyone has any ideas.  TIA.

CHEERS


jordan snyder
jordansnyder.com
[EMAIL PROTECTED]
__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to