I had tried dumping that too,
It seems to correctly gives the correct dump of a reactorFactory and
includes the function createTo()

Code: 
<cfif NOT StructKeyExists(variables, "tObj") >
                        <cfset factory = _getReactorFactory()>
                        <cfset alias = _getAlias()>
                        <cfdump var="#factory#">
                        Alias: <cfdump var="#alias#">

                        <cfset variables.tObj = factory.createTo(alias)
>
                </cfif>
<cfabort>

Output:

/>
component reactor.reactorFactory
METHODS
CREATEDAO                
CREATETO
function createTo
Arguments:
Name    Required        Type    Default
objectAlias     Required        any      
ReturnType:     any
Roles:   
Access:         public
Output:         false
DisplayName:     
Hint:   I return a To object.
Description:     
INIT             
CREATEGATEWAY            
CREATEMETADATA           
CREATEITERATOR           
CREATEPLUGIN             
GETXML           
CREATEDICTIONARY                 
CREATEVALIDATOR
CREATERECORD
SETBEANFACTORY
COMPILE

Alias: Contact 

Note sure if this means anything... the slash Greaterthan ( /> )at the
top of the output is always there when I dump output from reactor. I've
been trying to find from where but unsuccessfully. It seems to be from
reactor, since I have so little code dumping this... but I've put my
foot in my mouth before.


Thanks 

Dan



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Tom Chiverton
Sent: Tuesday, February 13, 2007 4:16 AM
To: [email protected]
Subject: Re: [Reactor for CF] Contact Manager Examples (Reactor and
Flex)

On Tuesday 13 Feb 2007, Radez, Dan wrote:
>                       <cfset variables.to =
_getReactorFactory().createTo(_getAlias()) >

What does the code for _getReactorFactory() look like ?
What does it return if you cfdump it ?

-- 
Tom Chiverton
Helping to widespreadedly customize corporate architectures


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- --
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