> I'm not using CS to access my gateway using the getBean() method, I'm
> accessing the gateway using something like this.
>
> LOCAL.gCredentials =
> getModelGlue().getOrmService().createGateway("Credentials");
With that call you are talking to reactor I'm assuming. I've not worked with
MG:U, so I'm not exactly sure what is going on in the construction of those
objects. I know that MG:U provides scaffolding, and am assuming that the
getOrmService().createGateway() call is referencing a table called
"Credentials" that it read from your database.
In this case, reactor is creating the gateway, not CS, so you have to determine
how to inject the sessionFacade into the reactor generated file. I know that
reactor generates files that you can provide custom methods, and that might be
the place to achieve what you are trying to do. It could be that CS fires
after reactor, so you might be able to add a reference in the reactor generated
abstract gateway and have CS inject your façade.
I'm sorry I can't be of more help with this exact issue, but I think that there
is a list dedicated to MG:U, and you might find more help from people there.
I'm a little unclear on what you are trying to achieve. Once you create the
credentials gateway, it seems as though you are going to look up a users
credentials. How does your sessionFacade factor into this? Why would it need
to be injected into the gateway?
HTH
Rich Kroll
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274954
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4