Creative Developer
Direct: 020 7087 2754
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of lostinrecursion
Sent: 03 December 2006 16:59
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Simple Question - Array to ArrayCollection - Best
It depends on what Java type ColdFusion returns to FDS for
serialization. By default, FDS returns java.util.Collection
implementations as mx.collections.ArrayCollection, and native Java
Arrays (i.e Object[]) as ActionScript Arrays. So, if your seeing that
event.result can be successfully coerced
Hi all,
This is a best practice question really.
I use Cairngorm for the larger apps I build. I also use Coldfusion and
the nifty class mapping that it can perform between DTOs (or VOs,
whatever you call them)
Here's the conundrum. A lot of my top level classes have
ArrayCollections of other
Maybe i'm wrong and there is special internal coldfusion handling involved,
but i don't think, you can cast an Array to a ArrayCollection. You can only
cast the result to something it already is. So if your result is a custom
object, you have to add it to a new ArrayCollection. Casting to
On 12/3/06, Ralf Bokelberg [EMAIL PROTECTED] wrote:
Maybe i'm wrong and there is special internal coldfusion handling
involved, but i don't think, you can cast an Array to a ArrayCollection. You
can only cast the result to something it already is. So if your result is a
custom object, you have
I didn't think you could do that (cast) - I thought you needed to create a
new ArrayCollection _based_ on the array? (ie var ac:ArrayCollection = new
ArrayCollection(myArray) )
On 12/3/06, lostinrecursion [EMAIL PROTECTED] wrote:
Hi all,
This is a best practice question really.
I use
6 matches
Mail list logo