Sean, For the assembler I watched those generated files and what they do is very similar to reactor stuff.I just adapted but got those records empty but the assembler was getting the right To's.
Monday I'll try to force those <cfproperty tags on my SomeToMSSQL.CFC to see if the problem is solved. Sean you should take a look to the generated files. The Fill method in fact calls the DAO.read function that is nothing else than Array of TO's Get is an instance of a TO. sync gets an array of changed objects and returns an array. and count...well, the total of records (TO) returned. [Edit] I Couldn't wait till monday so I just connected remotly and added those properties in the mssql.cfc and guess what? It works !!!!!! One more place where reactor play ;) Monday (or maybe tomorrow) I'll try to play a bit with the sync function to test some CRUD functions. I'll have just to change the customTo.xsl so it generates also those properties like in the baseTo.xsl. Sean, THANK YOU!!! João Fernandes -----Original Message----- From: [EMAIL PROTECTED] on behalf of Sean Corfield Sent: Sat 25-Mar-06 12:42 AM To: [email protected] Subject: Re: [Reactor For CF] Reactor and Flex Data Services On 3/24/06, João Fernandes <[EMAIL PROTECTED]> wrote: > The fact that SomeToMSSQLCFC doesn't have any <cfproperty/> defined? Yes, for (automated) CFC/AS mapping, the <cfproperty/> tags *MUST* be present for each attribute of the object that should be mapped. That means you cannot use Reactor with FDS. Even if reactor added the <cfproperty/> tags, you still couldn't use Reactor with FDS, I suspect, because FDS assumes beans and DAOs, not the "active record" style approach Reactor uses (well, if you wrote a custom assembler that understood Reactor's "active record" approach, maybe you could but you're off in deep uncharted territory at that point). > Is there a way in Reactor side to solve this or is this a limitation of AS3 > that cannot map to CFCs that extend other CFCs? The Flash Remoting adapter for Flex 2 requires the appropriate <cfproperty/> tags. It shouldn't matter whether the CFC extends another CFC as long as the appropriate <cfproperty/> tags are provided. -- Sean A Corfield -- http://corfield.org/ Got frameworks? "If you're not annoying somebody, you're not really alive." -- Margaret Atwood -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/ -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/
<<winmail.dat>>

