Terry: I suspect you're not using the latest (final!) release of MG3? It was just released/announced yesterday. The trace() issue was a much older issue, I believe, and due to the fact that trace() is now a built-in function (with CF 9), so it's been pulled out of later versions of MG3.
I'm wondering if perhaps updatinig to the latest version would resolve a lot of these issues? http://www.model-glue.com/downloads/ModelGlue_3.0.final.178.zip On Tue, Aug 11, 2009 at 9:42 AM, CFTAD <[email protected]> wrote: > > Thanks for the response. > > I am using the file that was provided in the download and the > Controller.cfc does not contain the OnRequestStart method.. The > QuickStart has this listed: > > <controller name="MyController" > type="translator.controller.Controller"> > <message-listener message="OnRequestStart" > function="OnRequestStart" /> > <message-listener message="OnRequestEnd" function="OnRequestEnd" / > > > <message-listener message="NeedTranslation" > function="TranslatePhrase" /> > </controller> > > I assume this is making the call to the functions.. I added empty > functions for OnRequestStart and OnRequestEnd to controller.cfc, but > now I get a new error: > > Model-Glue 3 ("Gesture") > Oops! > Message The method trace was not found in component C:\Inetpub > \ModelGlue\gesture\eventrequest\EventContext.cfc. > Detail Ensure that the method is defined, and that it is spelled > correctly. > > Please let me know what may need to be changed... > > Thanks, > > Terry > > On Aug 11, 9:08 am, Charlie Griefer <[email protected]> wrote: > > 1) Do you have an OnRequestStart cffunction in your Controller.cfc file? > > 2) If you do, but just added it, have you reinitialized the framework > (e.g. > > mysite.com/?init=1)? > > > > > > > > On Tue, Aug 11, 2009 at 8:57 AM, CFTAD <[email protected]> wrote: > > > > > Hello, > > > > > I am new to MG and going through the QuickStart (http://docs.model- > > > glue.com/wiki/QuickStart/ > > > 4%3AHandlingaForm#Quickstart4:HandlingaForm< > http://glue.com/wiki/QuickStart/%0A4%3AHandlingaForm#Quickstart4:Hand.. > .>). > > > I am getting below > > > error: > > > > > Message The method OnRequestStart was not found in component C: > > > \Inetpub\wwwroot\translator\controller\Controller.cfc. > > > Detail Ensure that the method is defined, and that it is spelled > > > correctly. > > > > > Please advise what may need to be changed in order for it to work > > > correctly. > > > > > Thanks, > > > > > Terry > > > > -- > > I have failed as much as I have succeeded. But I love my life. I love my > > wife. And I wish you my kind of success. > > > > -- I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my kind of success. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
