RE: [flexcoders] Re: How to assign a data provider to a combo box

2005-08-05 Thread Philippe Maegerman





As suggested before, do the binding in the result event 
of your webservice

webservice 
result="combo.dataProvider=event.result"

Philippe 
Maegerman


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
terry_hrtnSent: jeudi 4 août 2005 18:25To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: How to assign a 
data provider to a combo box
yes and no -- won't work in my case. Action script calls web 
services async. I have a single web service that returns multiple 
values depending on whats passed in, so 
having:webservice.send();comboBox.dataprovider=webservice.resultThere 
is no data in webservice.result until webservice.send is complete but 
combobox.dataprovider= is executed anyway leaving a blank combo box. I 
guess the only way around this would be to wire up events...open to 
suggestions.--- In flexcoders@yahoogroups.com, Manish Jethani 
[EMAIL PROTECTED] wrote: On 8/4/05, terry_hrtn 
[EMAIL PROTECTED] wrote:  Is there a way to assign a data 
provider to combo box at run time using  action script instead 
of mxml?  Yups, simply set the dataProvider property. 
 comboBox.dataProvider = newDataProvider;  
Manish





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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






--**STATEMENT OF CONFIDENTIALITY** 
This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.
We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--


Re: [flexcoders] Re: How to assign a data provider to a combo box

2005-08-04 Thread Manish Jethani
On 8/4/05, terry_hrtn [EMAIL PROTECTED] wrote:

 yes and no -- won't work in my case. Action script calls web services
 async.  I have a single web service that returns multiple values
 depending on whats passed in, so having:
 
 webservice.send();
 comboBox.dataprovider=webservice.result

In that case, you would assign the dataProvider in the result handler
for the web service.

Manish


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hrv4ova/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123183366/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

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