Hi Chaps, Anyone have any ideas at all on this one? I'm really struggling to build on user bean onSessionStart(). I've gotten quite used to using ColdSpring and other factories for managing my bean dependencies. Does Model-Glue have another method for onSessionStart() instead of using the standard app.cfc method?
If not then how do I manually pass in init'd versions of my 'credentials' and 'entitlements' beans into the constructor of my 'user' bean as arguments? Cheers for any help you guys can offer. Thanks, Rob -----Original Message----- From: Robert Rawlins - Think Blue [mailto:[EMAIL PROTECTED] Sent: 06 April 2007 13:26 To: CF-Talk Subject: ColdSpring From Within App.cfc (MG) Hello Guys, I'm trying to build a user bean onSessionStart() for my application. However the user bean has a few dependencies when its created, which store the users credentials and entitlements. These dependencies are passed in through the constructor method of the user object. I'd ideally like to have ColdSpring and Model-Glue handle this for me, rather than having to build the dependencies myself, but I can't figure out how to access the factory from my onSessionStart() method. Does anyone know if this is possible? If not then what's the best way to have my user object build its credentials and entitlements dependants? Thanks, Rob ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274851 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

