That's strange. I've been running that exact code (while writing the docs)
all day today. 

Joe implemented this feature.  Maybe he can shed some light on it?

Doug

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Kevan Stannard
Sent: Wednesday, June 14, 2006 10:13 PM
To: [email protected]
Subject: [Reactor for CF] Error - Element BEANFACTORY is undefined in
VARIABLES.

Hi 

I have just exported a copy of Reactor from the SVN repository. I am
following through Reactor Documentation.doc file.

I have just created a cfm file that executes the following line:

<cfset Reactor = CreateObject("Component",
"reactor.reactorFactory").init(expandPath("reactor.xml")) />

When I execute this I get the following message:

Element BEANFACTORY is undefined in VARIABLES.  

The error occurred in C:\Inetpub\reactor\reactor\reactorFactory.cfc:
line 122
Called from C:\Inetpub\reactor\reactor\reactorFactory.cfc: line 16
Called from C:\Inetpub\reactortest\index.cfm: line 2
 
120 :           <cfset variables.BeanFactory = arguments.beanFactory />
121 :   </cffunction>
122 :   <cffunction name="getBeanFactory" access="private"
output="false" returntype="coldspring.beans.beanFactory">
123 :      <cfreturn variables.BeanFactory />
124 :   </cffunction>


Any help appreciated.


Kevan



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