reactor  

Re: [Reactor for CF] Getting sample blog app to work

Bryan S
Mon, 13 Nov 2006 06:47:27 -0800

It's working fine with model-glue

This works
D:\Inetpub\wwwroot\AppManager
http://localhost/AppManager/index.cfm?init=true

with this
D:\Inetpub\wwwroot\reactor

but this
D:\Inetpub\wwwroot\ReactorSamples\Blog
http://localhost/reactorSVN/ReactorSamples/Blog/index.cfm?init=true
produces this. The object has been created but it does not have an init method.

The selected method Init was not found.

Either there are no methods with the specified method name and argument types, or the method Init is overloaded with arguments types that ColdFusion can't decipher reliably. If this is a Java object and you verified that the method exists, you may need to use the javacast function to reduce ambiguity.   The error occurred in D:\Inetpub\wwwroot\ReactorBlogData\Gateway\EntryGateway.cfc: line 7
Called from D:\Inetpub\wwwroot\ReactorSamples\Blog\controller\BlogController.cfc: line 24


On 11/13/06, Tom Chiverton <[EMAIL PROTECTED]> wrote:
On Friday 10 November 2006 19:44, Bryan S wrote:
> Does anyone know why I'm getting this error when trying to run the sample
> blog app. There is no init in either the object of the one it extends from
> yet there is this code...
>         <cfset variables.Reactor = CreateObject("Component", "
> reactor.reactorFactory").init(variables.BlogConfig.getReactorConfigFile())
> />
>
> on line 20 of BlogController

At a guess, your reactor code isn't in /reactor.

--
Tom Chiverton


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
reactor@doughughes.net
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --