The selected item in the ComboBox is item.selectedItem. Do you know about the "ASDoc"? It tells you about the properties, methods, events, styles, and effects of every component. There should be a link to it at
Start > Macromedia > Macromedia Flex http://livedocs.macromedia.com/flex/15/asdocs_en/index.html - Gordon -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sandip_patil01 Sent: Friday, September 16, 2005 11:16 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to pass value selected from combo box to my Java class method Hi all, Can anybody tell me how to pass value selected from combo box to my service class method. Here what I want is depending on the parameter passed to method the method should fetch records from database. In this case I want to pass value selected from combo box to my java class method.So how I can achive this. My code is , <mx:ComboBox id="item" dataProvider="{listInfo}"/> where this listInfo contains some data. Now I want to pass one selected value from this data to my java class method sothat accordingly I can fire my select query depending on the value passed. So can anybody please help me out. Thanks in advance. Sandip Patil -- 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 ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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/