I've just set up a development environment on my local machine.  And
it's basically a mirror to what we've got on our company development
server.  So as of right now it's the exact same code but there's some
really odd behavior.  I'm having issues when implementing a new
Controller, Service, and Gateway module.  For example:

TestController
------------------------------------------------------------------------------
<cfcomponent displayName="TestController"
extends="ModelGlue.unity.controller.Controller" output="false">

    <cffunction name="SetTestService" access="public"
returntype="void" output="false">
        <cfargument name="TestService" type="model.TestService"
required="true" />
        <cfset variables.TestService = arguments.TestService />
    </cffunction>

    <cffunction name="GetTestService" access="public"
returntype="model.TestService" output="false">
        <cfreturn variables.TestService />
    </cffunction>

    <cffunction name="randomFunction"  access="public"
returntype="void" output="false">
        <cfargument name="event" type="any">
        <cfset var thisTestService = GetTestService() />
        ...
    </cffunction>
...
------------------------------------------------------------------------------

In my config.xml I'll have a message broadcast to call
randomFunction(), but it gives me an error:

    Message     Element TESTSERVICE is undefined in VARIABLES.

The really weird thing is that it's just my local machine, the same
code works on the development server.  Is this a caching issue?  Any
ideas would be great.  Thank you.

-- 
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