If you are seeing the combobox look like it contains the data (meaning that
you have a solid drop down) but there is nothing there, you probably
overlooked labelField="". Add that as a property and put the name of the
element that you want to see there.

Jeff
http://www.flexauthority.com

----- Original Message ----- 
From: "digital_eyezed" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, February 24, 2005 3:23 PM
Subject: [flexcoders] Populating a Combobox from an HTTPService


>
>
> Hi,
>
> I have an HTTP service with a returned dataprovider. I want to
> populate a combobox with this dataprovider. The tags within the
> returned xml in the dataprovider are <label> and <data>.
>
> I tried this:
>
> <mx:HTTPService id="cust" url="cus.jsp"/>
>
> <mx:VBox>
> <mx:ComboBox id="cusBox"
> dataProvider="{cust.result.list.customer}"></mx:ComboBox>
> </mx:VBox>
>
> The box drops down, but it has no data!
>
> Thanks in advance.
>
> Iain
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>



Reply via email to