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:
Catalog.cfc has an attribute products of type Product.cfc array.
<cfproperty name="Products" type="Product[]"/>
Catalog.as has an ArrayCollection of Product objects, i.e., public var
Products:ArrayCollection.

The rest of the CFC translates perfectly to my AS object instance, but
the ArrayCollection remains null and unpopulated, requiring a second
round trip to retreive the items.

Now I know I might be asking a lot to want direct and complete
translation including nested objects and such and possibly I'm not
understnding how to accomplish this currently - other than to work
around it as above. 

Any input appreciated...  

Jeff Battershall
Application Architect
Dow Jones Indexes
[EMAIL PROTECTED]
(609) 520-5637 (p)
(484) 477-9900 (c)

Reply via email to