Are you also utilizing the <cfproperty> tag in the CFC itself?  This blog talks about it in more detail http://mrmx.blogspot.com/2006/03/getting-cfcas-auto-conversion-working.html

 


From: [email protected] [mailto:[email protected]] On Behalf Of Bjorn Schultheiss
Sent: Thursday, May 25, 2006 8:43 PM
To: [email protected]
Subject: [flexcoders] F2/CF VO's

 

Hi,

 

I sent a typed VO from Flex2 to a CFC and returned it to Flex perfectly, properties the same, works like a gem.

Problem is accessing the properties in CF.

I was using

<cfargument name="flexobj" />

<cfreturn arguments.flexobj.email />

And this display in the flex FAULT_EVENT saying EMAIL property of flexobj is undefined.

If I use

<cfargument name="flexobj" required="true" />

<cfreturn arguments.flexobj />

This returns the object, still typed back to flex where I can inspect the email property.

 

How do I access the properties in coldfusion?




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to