Hi,

I did try that with...

<cffunction name="init" access="public" returntype="any" hint="constructor">
        <cfargument name="dsnBean" type="any" />
        <cfset variables.instance['dsnBean'] = arguments.dsnBean />
        <cfreturn this />
</cffunction>

however I just get the error "Element DSNBEAN is undefined in ARGUMENTS."

This is how I am injecting the bean into the CFC...

<bean id="userGateway" class="model.common" >
  <property name="dsnBean">
       <ref bean="dsnBean" />
  </property>
</bean> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:324971
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to