On Monday 25 Jun 2007, Brian Kotek wrote:
> Makes sense, thanks. I haven't played much with Flex yet so I don't know
> much about the difference between sending back an actual query vs. sending
> back an array of VOs.

I've not checked with Flex 3/CF8, actually, but with Flex 2/CF7.0.2 queries 
get turned into arrays of Object, which means having to loop and cast them in 
the Flex app.
AOP is a great time saver here, because it looks like it will enable you to 
ignore that fact, return a query from your CFC and get an array of value 
objects in the flex app.
So far, you'll still need to make sure your AS class has a 'RemoteClass' 
metadata tag and then set the correct CFC name in the Advisors config.

In addition, if you want to return the project specific To, copy the 
cfproperty and 'this' code from the reactor.project.XXXX.To.YYYYTo.cfc.

-- 
Tom Chiverton
Helping to economically synthesize sticky products
on: http://thefalken.livejournal.com

****************************************************

This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to