If your application is set to reload on each request (reload=true in your MG coldspring.xml) then when you dump event.getAll() you'll see all of the internal gubbins that mg places into the event context during bootstrap. Under normal operation this only happens when the app is first called and then mg is stored in the application scope.
I don't know whether this is something that has changed since unity. Chris 2009/6/3 Sean Coyne <[email protected]> > > I just set up a clean mg 3 app from the ant script. > > I then went into the views/pages/index.cfm and added <cfdump > var="#event.getall()#" /> > > This returned what I expected. The items I saw in my other app were > in the bootstrap key returned in the struct, however in the app I had > the issue with, it seems like cfdump didn't like it for some reason. > It wasn't a nice nested table set like it was in the basic app > template. > > Perhaps its only an issue in an app of significant size? > > Sean > > > On Jun 3, 9:52 am, Sean Coyne <[email protected]> wrote: > > I see in EventContext that event.getallvalues() is deprecated and we > > should use event.getall(). > > > > So in the past (mg 2) I have use event.getallvalues() to get a quick > > struct that I can cfdump of the event for debugging purposes within a > > view. > > > > So I tried this today in an app I am writing in MG 3 and it took a > > very long time to dump it. It actually hit the timeout until I added > > a cfsetting requesttimeout directive. > > > > When it finally dumped the response, the struct was HUGE and not what > > I expected. There seemed to actually be a struct version of EVERY > > defined event in my ModelGlue.xml file. > > > > I expected just a struct with the event values. > > > > Did this functionality change with MG 3 or is this a bug? > > > > Sean > > > --~--~---------~--~----~------------~-------~--~----~ 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 For more about Model-Glue, check http://www.model-glue.com . -~----------~----~----~----~------~----~------~--~---
