Joe, Was it you who set create record to any? Doug
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joe Rinehart Sent: Wednesday, June 14, 2006 11:27 PM To: [email protected] Subject: Re: [Reactor for CF] Error - Element BEANFACTORY is undefined in VARIABLES. Argh, sorry about that. I'm not in a good spot to test non-CS setups. I've added a new commit, and went way down the method chain making sure it's duck-typed. On 6/14/06, Kevan Stannard <[EMAIL PROTECTED]> wrote: > Thanks Joe, I updated the reactorFactory.cfc file (and added the new > file Reactor.dtd), but unfortunately a new message has surfaced: > > The value returned from function getBeanFactory() is not of type > coldspring.beans.beanFactory. > If the component name is specified as a return type, the reason for this > error might be that a definition file for such component cannot be found > or is not accessible. > > The error occurred in C:\Inetpub\reactor\reactor\reactorFactory.cfc: > line 17 > > 15 : > 16 : <!--- give the objectfactory the beanfactory ---> > 17 : <cfset > getObjectFactory().setBeanFactory(getBeanFactory()) /> > 18 : > 19 : <cfreturn this /> > > > Kind regards > > Kevan > > > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Joe Rinehart > Sent: Thursday, 15 June 2006 12:49 PM > To: [email protected] > Subject: Re: [Reactor for CF] Error - Element BEANFACTORY is undefined > in VARIABLES. > > Try updating the code...I made a mistake that'd really wrinkle things > up for the non-ColdSpring crowd. Sorry about that. Bad Joe. > > On 6/14/06, Doug Hughes <[EMAIL PROTECTED]> wrote: > > 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/ > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > -- -- -- -- > > > > > > > -- > Get Glued! > The Model-Glue ColdFusion Framework > http://www.model-glue.com > > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > -- -- -- > 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/ > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > > -- Get Glued! The Model-Glue ColdFusion Framework http://www.model-glue.com -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 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/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
