I am receiving a query from a database via a RemoteObject and putting it
directly into an ArrayCollection. Some of this data needs to be displayed in a
Tree and I've found XMListCollection works better as a data provider. I wrote a
method to go through the array and create nodes then add them to the XML, but
it seems there would be a way to do this automatically instead. Thanks!
Unable to do that, when you get the data you need to convert it to an XML
object I would think, for the XMLList's source is an XML object.
Finally, I would re-look at the ArrayCollection as the data provider once
more.
IMHO
There must be some such options with ColdFusion but I am not the one to ask.
:(
ArrayCollection will never contain an XMLListcollection, so forget casting.
If the CFC IS returning xml, then set the resultFormat="e4x", then in the
handler, do:
var xmlResult:XML = XML(event.result);
trace(xmlResult.toXMLString())
Tracy