On Thu, Jul 23, 2009 at 1:31 PM, Glyn Jackson<[email protected]> wrote: > PS would i also not have to change my User Service as all i want to do is > call my User Service and have common available otherwise I dont see the point > i can set this in init method. i.e would it be something like so only the > user service is called...
Ah, I misunderstood your code... > User Service > <cfcomponent name="User Service"> OK, *this* component needs to be managed by ColdSpring. > <cffunction name="setUserGateway" access="public" returntype="void" > output="false" hint="Set the UserGateway."> > <cfargument name="userGateway" type="any" required="true" > hint="UserGateway" /> > <cfset variables.instance['userGateway'] = > arguments.userGateway /> > </cffunction> User Service has to be under ColdSpring's control for it to know about calling this method. -- Sean A Corfield -- (904) 302-SEAN Railo Technologies US -- http://getrailo.com/ An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really ali ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324901 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

