Hi Matt,
Thanks a lot to reply me .Now I am facing a design issue.I have to search for Users having different criterias like "Search by Name","Search By ZIP","Search By Age" etc..I have design a UI using Navigators/Accrodian.If I click on any Search Tab like "Search By Name" or "Search By ZIP" , user will get different Input fields (i.e.,First name,Last name, Age etc for Search By Name  and zip code,City,Age etc for "Search By ZIP' )The result data will be shown in a same DataGrid.
Now My question is
1.) Should I use Different RemoteObjects for each Search process?
2.) Should I use Different Data Model(Though some input fields like Age,Sex etc. are same for each Search process) for sending request to server or retrieving Result from server?
3.) As Flex is design on the basis of MVC design pattern ,then which will play the role of Controller? And How ? 
Advance Thanks for descriptive/sample code based  Advice.
 
Thanks and Regards,
Partha Sarathi Das,
Cybage Software Pvt. Ltd. (An SEI-CMMI Level 5 Company)
Marisoft , Kalyani Nagar,
Pune,India
[EMAIL PROTECTED],
www.cybage.com
Ph.(Office) : 91 20 56041700  Ext. 2812
----- Original Message -----
Sent: Monday, January 30, 2006 2:59 AM
Subject: RE: [flexcoders] How to send data to server by using Remote Object ?

Create a Java object that has a method that takes two parameters, login and password.

 

<mx:RemoteObject id=”ro” source=”yourclass” result=”handleResult(event)” fault=”handleFault(event)”>

 

</mx:RemoteObject>

 

//somewhere in your code

ro.yourMethod(login, password); //when the method returns your handleResult method will be called with the return value.

 

Matt

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Partha Sarathi Das
Sent: Thursday, January 26, 2006 10:28 PM
To: [email protected]
Subject: [flexcoders] How to send data to server by using Remote Object ?

 

Hi,

Can anybody send me a sample code for sending FORM data to server by Remote Object?For example I have two form data named login and password?I want to send these form data and My java Class will process the data and do something required.

Thanks and Regards,
Partha Sarathi Das,
Cybage Software Pvt. Ltd. (An SEI-CMMI Level 5 Company)
Marisoft , Kalyani Nagar,
Pune,India
[EMAIL PROTECTED],
www.cybage.com
Ph.(Office) : 91 20 56041700  Ext. 2812




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




Reply via email to