Title: RE: Coldspring datasource
Thread: Coldspring datasource
Forum: Need Help?
Conference: ColdBox
User: demirkapi I think I have figured out.
In generated service file we need to define type
with full path as following.
[code]
<cfcomponent name="articlesService"
output="false" cache="true" cachetimeout="30">
<cffunction name="init"
access="public" output="false" returntype="articlesService">
<cfargument
name="articlesDAO" type="components.dao.articlesDAO" required="true" />
<cfargument name="articlesGateway" type="components.gateway.articlesGateway"
required="true" />
<cfset variables.articlesDAO = arguments.articlesDAO />
<cfset variables.articlesGateway = arguments.articlesGateway />
<cfreturn
this />
</cffunction>
[/code]