ColdBox Forums Notification: Post to Coldspring datasource

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]

:slight_smile:
http://www.luismajano.com/forums/index.cfm?event=ehMessages.dspMessages&threadid=B9458AEC-FF65-CEF6-659832953E213F04