Oh, and since I forgot to tell you about the CFC, make a new CFC called ModelGlue.cfc and place it in the ModelGlue.unity.framework directory. Here is the body of the component in its entirety <cfcomponent hint="I am no longer anything important: Implementations of ModelGlue current Model-Glue versions simply extend me for reverse compatibility purposes."> </cfcomponent>
DW On Thu, Aug 6, 2009 at 9:46 AM, Dan Wilson <[email protected]> wrote: > Lola, > > Thanks for pointing this out. I can definitely see why this is happening, > there is no component called ModelGlue at ModelGlue.unity.framework > > The MG2 apps I have all have the argument defined as: <cfargument > name="ModelGlue" required="true" type="ModelGlue.ModelGlue" /> > > Which works. I made a change to the framework on my side, would you also > do the same and make sure it fixes the issue? > > Please open /ModelGlue/ModelGlue.cfc > > Replace the contents with: > > <cfcomponent hint="I am no longer anything important: Implementations of > ModelGlue current Model-Glue versions simply extend me for reverse > compatibility purposes." extends="ModelGlue.unity.framework.ModelGlue"> > </cfcomponent> > > Then report whether this gets you past the reported issue, or creates a new > one. > > > > > > > > > On Thu, Aug 6, 2009 at 7:53 AM, Lola J. Lee Beno <[email protected]> wrote: > >> >> Lola J. Lee Beno wrote: >> > Dan Wilson wrote: >> > >> >> I appreciate you bringing it up Vlad, If you have trouble, others >> >> might also. >> >> >> > >> > Here's an issue that comes up when I switch my MG2 app to using MG3: >> > >> > Element dsn is undefined in a CFML structure referenced as part of an >> > expression. >> > >> T >> >> Following up on this - it appears that this problem was caused by the >> CF9 server not working properly (my app wasn't running in MG2). After >> rebooting, then checking it in MG2 to make sure it was running properly, >> I then switched it to MG3 and have a totally different error message. >> Line 29 is same as before: <cfset super.Init(arguments.ModelGlue) /> >> >> Error message follows: >> >> >> The MODELGLUE argument passed to the Init function is not of type >> ModelGlue.unity.framework.ModelGlue. >> >> If the component name is specified as a type of this argument, its >> possible that a definition file for the component cannot be found or is >> not accessible. >> >> The error occurred in >> /Library/WebServer/Documents/ModelGlue2/Core/Controller.cfc: line 31 >> Called from >> /Library/WebServer/Documents/knitlibmg/controller/Controller.cfc: line 29 >> Called from >> /Library/WebServer/Documents/ModelGlue/gesture/module/XMLModuleLoader.cfc: >> line 203 >> Called from >> /Library/WebServer/Documents/ModelGlue/gesture/module/XMLModuleLoader.cfc: >> line 95 >> Called from >> /Library/WebServer/Documents/ModelGlue/gesture/module/XMLModuleLoader.cfc: >> line 81 >> Called from >> >> /Library/WebServer/Documents/ModelGlue/gesture/modules/internal/configuration/controller/ConfigurationController.cfc: >> line 21 >> Called from >> >> /Library/WebServer/Documents/ModelGlue/gesture/eventrequest/EventContext.cfc: >> line 298 >> Called from >> >> /Library/WebServer/Documents/ModelGlue/gesture/eventrequest/EventContext.cfc: >> line 225 >> Called from >> >> /Library/WebServer/Documents/ModelGlue/gesture/eventrequest/phase/Configuration.cfc: >> line 27 >> Called from >> >> /Library/WebServer/Documents/ModelGlue/gesture/eventrequest/EventContext.cfc: >> line 155 >> Called from >> /Library/WebServer/Documents/ModelGlue/gesture/ModelGlue.cfc: line 215 >> Called from >> /Library/WebServer/Documents/ModelGlue/gesture/ModelGlue.cfm: line 58 >> Called from /Library/WebServer/Documents/ModelGlue/ModelGlue.cfm: line 3 >> Called from /Library/WebServer/Documents/knitlibmg/index.cfm: line 27 >> 29 : >> 30 : >> 31 : <cffunction name="Init" access="public" >> returnType="ModelGlue.Core.Controller" output="false" hint="I return a >> new Controller."> >> 32 : <cfargument name="ModelGlue" >> type="ModelGlue.unity.framework.ModelGlue" required="true" hint="I am an >> instance of ModelGlue."> >> 33 : <cfargument name="name" type="string" required="false" >> default="#createUUID()#" hint="A name for this controller."> >> >> >> >> -- >> Lola J. Lee Beno >> LinkedIn: http://www.linkedin.com/in/lolajleebeno >> Facebook: http://www.facebook.com/profile.php?id=714355583 >> Blog: http://www.lolajl.net/blog/ >> >> >> >> >> > > > -- > “Come to the edge, he said. They said: We are afraid. Come to the edge, he > said. They came. He pushed them and they flew.” > > Guillaume Apollinaire quotes > -- “Come to the edge, he said. They said: We are afraid. Come to the edge, he said. They came. He pushed them and they flew.” Guillaume Apollinaire quotes --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
