Presumably you are managing both of these guys with ColdSpring.  Inject the
otherFunctionsDAO into your couponsGW.  Then call in whatever manner you
have your code setup.

Here is some quickie example code.

<!--- couponsGW --->
<cffunction name="init">
     <cfargument name="otherFunctionsDAO" required="true" />
     <cfset variables.otherFunctionsDAO = arguments.otherFunctionsDAO />
</cffunction>

<cffunction name="foo">
     <cfset var myCode = variables.otherFunctionsDAO.getCouponCode() />
</cffunction>

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

Reply via email to