You see this typo (missing t in result)?
resul as ArrayCollection

Try alerting hiredBy.dataProvider.toString().  Does that look like you
expect?

Tracy

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Jeremy Rottman
Sent: Tuesday, May 23, 2006 12:50 PM
To: [email protected]
Subject: [flexcoders] Dynamically populating a combobox

In my cfc I return an array to my flex app that holds data that I need
to populate a combobox. However everything that I have tried has
failed. Can someone give me a bit of help with this.

Here is my code. I have tried it with as ArrayCollection and with out
it. I am using the alert to make sure that I am getting data returned.

         // HIRED BY METHOD CALL
              public function AddAgentModhiredByQry(){
                    AddAgentMod.hiredByQry()
              }
        // HIRED BY METHOD RESULTS
              public function AddAgentModhiredByQryResult(result){
                    Alert.show(result);
                    hiredBy.dataProvider = resul as ArrayCollection;
              }
        // HIRED BY MEHTOD FAULT
              public function
AddAgentModhiredByQryFault(event:FaultEvent):void{     
              // DUMP ERROR MESSAGE
                    Alert.show("An error has occured","Fault - Hired
by DataProvider");
              }






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











--
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