Eric,
You have to use the "this" keyword in order to make your properties
public. Using the "variables" scope keeps your properties "private"
inside the CFC.
So your code needs to read:
<cfscript>
//Initialize the CFC with the default properties values.
this.value1 = "";
this.value2 = "";
this.value3 = "";
this.value4 = "";
</cfscript>
Just using the CFPROPERTY tag isn't enough.
Jeff
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of holmgren.eric
Sent: Wednesday, June 25, 2008 3:32 PM
To: [email protected]
Subject: [flexcoders] Re: Problems passing value objects between Flex
and CF
The Flex and ColdFusion code is here:
http://coldfusion.pastebin.com/m640b8baa
Sending a typed object from CF to Flex works as it should. Sending from
Flex to CF strips off all of the properties and only assigns the methods
present in the aliased cfc.
------------------------------------
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
Links