[flexcoders] Re: Urgent! Problem using ArrayUtil.toArray for a http result ( Flex 2 SDK release)

2006-07-18 Thread jmorpher03
Thanks Tim. Got it working by directly assigning the result to the 
dataprovider of ComboBox. Earlier (in B3) if there was a single row in 
the result, it was not showing up, for that, I'd used ArrayUtil.toArray
(result). Now its working fine :).






 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

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

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





[flexcoders] Re: Urgent! Problem using ArrayUtil.toArray for a http result ( Flex 2 SDK release)

2006-07-17 Thread Tim Hoff
Hi,

Since it's urgent, add: makeObjectsBindable=false, to the 
HTTPService tag.

-TH

--- In flexcoders@yahoogroups.com, jmorpher03 [EMAIL PROTECTED] 
wrote:

 I used to convert the result of a httpservice request , using the 
 ArrayUtil.toArray() in Flex 2 Beta 3 and assign it to an 
 ArrayCollection ( as a source to a ComboBox), it used to work, but 
now 
 in the latest release version,  its just giving an Object with 
comma 
 separated values. What could be wrong ?
 
 Here is the syntax I am using :
 
 acUserStatus.source = mx.utils.ArrayUtil.toArray
 (result.data.row.statuses);   
   acClients.source = mx.utils.ArrayUtil.toArray
 (result.data.row.clients);
 
 Please help me with this issue. Have they changed the way results 
are 
 returned in the httpservice ?








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

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