Thanks for getting back to me on this Ray, its greatly appreciated, I've
been tearing my hair out this morning :-D

I'm still a little sketchy on the details though. I have beans in my model
layer that need access to data from persistence, that I'm hoping to deliver
through Reactor, how do I access reactor from my model?

Do I have my controller access reactor and retrieve the query results, and
then have the controller pass them into my model? From the documentation
I've read I was under the impression the model interacts directly with
reactor.

Thanks again for the advice Ray,

Rob

-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED] 
Sent: 01 March 2007 12:26
To: CF-Talk
Subject: Re: Variable getModelGlue is undefined

Yes - you don't. If your model needs any values from your config
beans, they should be passed _to_ the model when the controller
creates them. You don't want your model tied to your config.

On 3/1/07, Robert Rawlins <[EMAIL PROTECTED]> wrote:
> Hello Guys,
>
> Having a bit of an issue with obtaining access to ColdSpring Y Reactor
from my model layout in MG using the getModelGlue().getBean() method. I've
been using this in my controller to instantiate a bean and it works
perfectly, however when I place it in any of the CFC's in my model layer I
get the error 'Variable getModelGlue is undefined' thrown back at me.
>
> Do I access this stuff differently from my model layer?
>
> Thanks chaps, Rob
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271106
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to