Would it be possible to generate CFCs that follow the same API as the CFCs
that the recent cfeclipse updates added?  

My understanding (though I've yet to actually get Flex working) is that
there's a wizard that can generate CFCs that they call Active Record CFCs.
Those must have some interface that Flex understands...  What if a set of
objects were created to mimic that interface?  Those objects could just call
the records behind the scenes, right?

Doug

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Sean Corfield
Sent: Friday, March 24, 2006 7:42 PM
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/


Reply via email to