Something like this? <mx:Label text="Enter data" /> <mx:TextInput id="txt_1"/>
<mx:ComboBox id="item" dataProvider="{listInfo}" change="myRemoteObject.getMyDataFromJava(item.selectedItem.mydata, {txt_1.text}/> -Oscar. "Sandip Patil" To: flexcoders@yahoogroups.com <[EMAIL PROTECTED]> cc: Sent by: Subject: Re: [flexcoders] How to pass value selected from combo box to my flexcoders@yahoogroups.com Java class method 09/16/2005 02:51 PM Please respond to flexcoders Thx Oscar, For your response. I know this. But along with this value selected from combo box i also want to pass whatever values User enter in text box. Here what I all want it is, Suppse I have text box and combo box. When user enter something in text box & also select value from combo box(which is already populated with data).I want both these valus to pass my Java class's another method. Thx Again. Sandip Patil [EMAIL PROTECTED] wrote: Assuming that you already have a RemoteObject to call your Java Class. This is what I would do: <mx:ComboBox id="item" dataProvider="{listInfo}" change="myRemoteObject.getMyDataFromJava(item.selectedItem.mydata)/> where mydata is the attribute name in listInfo and which you wanto to send to Java. You should have a resultHandler to catch the myRemoteObject.result, which then you can use as a Dataprovider for another control. -Oscar. "sandip_patil01" To: flexcoders@yahoogroups.com <[EMAIL PROTECTED]> cc: Sent by: Subject: [flexcoders] How to pass value selected from combo box to my Java flexcoders@yahoogroups.com class method 09/16/2005 02:16 PM Please respond to flexcoders 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 --------------------------------------------------------------------------- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --------------------------------------------------------------------------- __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- 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. --------------------------------------------------------------------------- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --------------------------------------------------------------------------- ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/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/