That might also be the case, so there are two reasons it is not working:

1) function to populate combobox being called before data arrives from
server
2) dataProvider is not being set to right type.

I have doubt in (1), if it is fine, then you can go ahead anc check for
second option..

-abdul 

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of indiver
Sent: Tuesday, May 17, 2005 2:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: cell render problem

It appears that you are value that you are trying to setup agains t
the dataProvider is incorrect. I've found that the best way to debug
such issues is to turn on debugging for http-services in
flex-config.xml, and then look at the flash log for the results returned.

Alternately, if you use Flex Builder, setup breakpoint within the
function where you set setting the dataprovider value, and view the
variables available at that point.

Indy
--- In flexcoders@yahoogroups.com, "Rajesh Jayabalan" <[EMAIL PROTECTED]> wrote:
> Hi,
> 
>  I am trying to create a combobox cell renderer. 
> 
> In my mxml file I am trying to set a httpserivce as the dataprovider
> for the cell renderer
> 
> note:: clTypeSrv is my HTTPService and clTypeSrv.send() is called on
> application initilize.
> 
> private function initCellRenderer() : Void          
>   {
>       ComboBoxCellRenderer.dataProvider = clTypeSrv.result.types.type;
>   }
> 
> this is creating a empty combobox 
> 
> Note: There is data coming back from the httpserivce as I am using it
> in another place
> 
> when I set it as static values I can see the combobox.
> 
> i.e.,
> ComboBoxCellRenderer.dataProvider = [ "Development Director",
> "Technical Director", "Technical Architect" ];
> 
> How can I make my combobox accept a httpservice as a dataprovider.
> 
> Rajesh J




 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to