How about cvcompanyValue.selectedItem.data

michrx7 wrote:

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





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to