|
Hi Erik, I believe he's asking how to pass all those parameters as just
one single (complex) datatype. IE along the lines of this: http://www.macromedia.com/devnet/flex/articles/complex_data_03.html Is it possible to Object.registerClass a CFC? class samples.data.EmployeeVO {
public var firstName : String;
public var lastName : String;
static var registered= Object.registerClass("acfc.myclass", samples.data.EmployeeVO);
}
myclass.cfc<cfcomponent> <cfproperty name="firstname" type="string"> <cfproperty name="lastname" type="string"> </cfcomponent> ^^ I know cfproperty is aimed at Web Services, but you get the idea... Erik Westra wrote: Well u can send all kinds of datatypes through RemoteObject to your CFC:Flash - ColdFusion ====================== Object - Struct Array - Array Boolean - Boolean Number - Number String - String ColdFusion - Flash ====================== Struct - Array (with named keys) Array - Array Boolean - String Number - Number (with CF7 u need to put Val() around the number, else its returned as String) String - String Greetz Erik -----Original Message----- From: reachmohanraj [mailto:[EMAIL PROTECTED]] Sent: dinsdag 15 maart 2005 22:17 To: [email protected] Subject: [flexcoders] Handling Complex Data With Remote Object and Coldfusion CFC Hi, My Environment -------------- Coldfusion 6.1 Flex 1.5 I would like to pass a complex object (Name,Title,Phone Number) as a parameter to my CFC function. I should be able to process this complex data in CFC and have to insert multiple rows into the table. How can I pass such complex data through my Remote Object call? Can someone post a simple example? Thanks, Mohanraj |
- RE: [flexcoders] Handling Complex Data With Remote Obje... Tarik Ahmed
- RE: [flexcoders] Handling Complex Data With Remote... Mohanraj Jayaraman
- RE: [flexcoders] Handling Complex Data With Remote... Peter Farland

