I know it exsits as if I go back to the setter version i can dump the bean in 
the CFC

<cffunction name="setdsnBean" access="public" returntype="void" output="false" 
_wireme="ioc">
  <cfargument name="dsnBean" type="any" required="true" hint="Set DNS Beand" />
  <cfset variables.instance['dsnBean'] = arguments.dsnBean /> 
  <cfdump var="#arguments.dsnBean#">
  <cfabort>
</cffunction>

however I like your version better, but using the..

<bean id="userGateway" class="model.common" >          
        <constructor-arg name="dsnBean">              
          <ref bean="dsnBean" />          
        </constructor-arg>     
</bean> 

then...

<cffunction name="init" access="public" returntype="any" hint="constructor">
        <cfargument name="dsnBean" type="any" required="yes" />
        <cfset variables.instance['dsnBean'] = arguments.dsnBean />
        <cfreturn this />
</cffunction>
      
just give me the same error "The DSNBEAN parameter to the init function is 
required but was not passed in." 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:324978
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