Ok, so I've created a combo box with id cvcompanyValue, then I call my 
coldfusion cfc and return a query with two fields "data" and "label". 
Data holding a list of company IDs and label holding the corresponding 
company names. Then I set the combobox provider to the result and 
everything populates as it should.

I can easily return the selected label in the combobox using:

Alert.show(cvcompanyValue.selectedLabel.valueOf());

But, how do I return the data of the selected combobox (my original 
IDs)? Do I have to sort through the ArrayCollection until I find the 
matching label? I can't imagine there isn't something like:

Alert.show(cvcompanyValue.selectedData.valueOf());

Help please!





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



Reply via email to