Where are you calling: initCellRenderer()?

It should be in the result handler for the http service.

Tracy

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Rajesh Jayabalan
Sent: Monday, May 16, 2005 4:42 PM
To: [email protected]
Subject: [flexcoders] cell render problem

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