On 8/22/06, Phillip <[EMAIL PROTECTED]> wrote:
Here is the XML:
<reactor>
<config>
<project value="getMail" />
<dsn value="getMail" />
<type value="mssql" />
<mapping value="/getMailData" />
<mode value="development" />
</config>
<objects/>
</reactor>
Here is the CF:
<!--- create the reactorFactory --->
<cfset Reactor = CreateObject("Component", "reactor.reactorFactory").init(expandPath("Reactor.xml")) />
<cfdump var="#Reactor#">
<!--- create a userGateway --->
<!--- <cfset UserGateway = Reactor.createGateway("User") />
<!--- get all records --->
<cfset qUsers = UserGateway.getAll() />
<!--- dump the results --->
<cfdump var="#qUsers#" /> --->
These are the mappings:
Here is the DSN:
And here is the directory:
I had downloaded and started to research/install ModelGlue. When I realized that Reactor was such an important part of ModelGlue, I decided to learn it first. And started experimenting. I walked through the getting started, and believe that I have set up the DB, and the mappings correctly.
Thanks so much for your help.
Sincerely: Phil Spingola
Tom Chiverton wrote:On Tuesday 22 August 2006 02:12, Phillip wrote:
I am an experienced CF programmer, but am new to Reactor. I am trying to
get my first app started and keep getting the following error. Does
anyone have any ideas on what I might be doing wrong?
That's more like a ColdSpring error.
Can you show us the code that throws the error, and the code you think is
populating the beanfactory, and anything important inbetween ?
--
"The potential of the mixture of humans and machines working together and communicating through the web could be immense."
Tim Berners-Lee
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--
Dan Vega
[EMAIL PROTECTED]
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
