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...
User Service
<cfcomponent name="User Service">
<cffunction name="init" access="public" returntype="any"
hint="Constructor.">
<cfreturn this />
</cffunction>
<cffunction name="getUserGateway" access="public" returntype="any"
output="false" hint="Return the UserGateway.">
<cfreturn variables.instance['common'] />
</cffunction>
<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>
sorry for all the questions I really want to better under stand this.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:324900
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4