Re: [flexcoders] Slightly OT - The Limitations of CFMX 7.02

2007-01-18 Thread Tom Chiverton
On Wednesday 17 January 2007 20:53, João Fernandes wrote: Try to set a break point in your remote call result event and see what is returned. Raise the log level to debug in the bottom part of your services-config.xml too - this will dump the contents of all the objects as they go past. --

Re: [flexcoders] Slightly OT - The Limitations of CFMX 7.02

2007-01-18 Thread Adam Dorritie
On 1/17/07, Battershall, Jeff [EMAIL PROTECTED] wrote: I've been using CFMX 7.02's ability translate CFCs to AS objects but have noticed the following limitation: If I have an array of objects (like CFCs) in my CFC/AS class def - these will not translate over the wire and I'm forced to

RE: [flexcoders] Slightly OT - The Limitations of CFMX 7.02

2007-01-18 Thread Battershall, Jeff
Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Adam Dorritie Sent: Thursday, January 18, 2007 8:22 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Slightly OT - The Limitations of CFMX 7.02 On 1/17/07, Battershall, Jeff [EMAIL PROTECTED] wrote: I've

RE: [flexcoders] Slightly OT - The Limitations of CFMX 7.02

2007-01-18 Thread João Fernandes
To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Slightly OT - The Limitations of CFMX 7.02 The type=Product[] is a way to make the array returned to be an array of CFC objects. This is a johnny-come-lately syntax addition and I'm not sure where it is documented. Allows you to write code like

[flexcoders] Slightly OT - The Limitations of CFMX 7.02

2007-01-17 Thread Battershall, Jeff
I've been using CFMX 7.02's ability translate CFCs to AS objects but have noticed the following limitation: If I have an array of objects (like CFCs) in my CFC/AS class def - these will not translate over the wire and I'm forced to pull over the array as a separate remoting request. Example:

Re: [flexcoders] Slightly OT - The Limitations of CFMX 7.02

2007-01-17 Thread João Fernandes
Try to set a break point in your remote call result event and see what is returned. If you run in debugger you might see some information like someobject[] could not be converted to an ArrayCollection. Also define your Products property in you AS class as Array and not ArrayCollection. João