Hi Dominic,

I have tried...

<bean id="dsnBean" factory-bean="ColdboxFactory" factory-method="getDatasource">
        <constructor-arg name="alias">
        <value>DBDetails</value>
        </constructor-arg>
</bean> 
        <bean id="userService" class="model.UserService" />
        
        <bean id="userGateway" class="model.common" >
            <constructor-arg name="dsnBean"> <ref bean="dsnBean" /> 
</constructor-arg> 
     </bean>

and I still get "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:324977
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