Hi Ray, I did experiment with headers, but the log data generated by ModelGlue (especially when its in "reload" mode) is simply too large. There is a known bug <https://bugzilla.mozilla.org/show_bug.cgi?id=385737> with Firefox that silently truncates header data larger than 10k, its old but my testing seems to show it still exists in the current release.
I must admin that i haven't looked at the ColdFire implementation, and only fell back on using a script block when i couldn't make headers work. I will take a look at the src of ColdFire and see if it provides any clues as to how i might make headers work for ModelGlue. Cheers, Chris <http://www.dougboude.com/blog/1/2010/03/Leveraging-Response-Headers-in-Ajax-Calls.cfm> On 18 November 2010 17:34, Raymond Camden <[email protected]> wrote: > Chris - I just noticed the 'script' part when it broke an AJAX based > login. Any reason why you went this route instead of how ColdFire does > it? (IE headers in the background.) > > On Tue, Nov 16, 2010 at 3:33 PM, Chris Blackwell <[email protected]> > wrote: > > Hi All, > > I've written an new debug renderer for ModelGlue. Rather than appending > the > > debug out to the end of the page as a table, it appends it as JSON > encoded > > data in a script block, the debug data is then rendered in a Firebug tab. > > This means that it shouldn't break any of your layouts, and you can pop > the > > debug log out into a separate window. > > There are two parts to this tool > > - a new LogRenderer (LogRendererFirebug.cfc) which serializes the trace > > array as json and drops it in a script block. > > - a Firefox plugin (ModelGlueDebugger.xpi) which implements the Firebug > > plugin api (xpi's are just zip files if you want to see the src) to > create > > the new tab. > > Requirements - Firefox 3.6 & Firebug 1.5 > > See the README file in the attached zip file for full installation > > instructions, there is also a screen shot attached. > > Please consider this an alpha release, if you find any issues please drop > me > > an email. > > Cheers, Chris > > > > -- > > 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]<model-glue%[email protected]> > > For more options, visit this group at > > http://groups.google.com/group/model-glue?hl=en > > > > -- > =========================================================================== > Raymond Camden, ColdFusion Jedi Master > > Email : [email protected] > Blog : www.coldfusionjedi.com > AOL IM : cfjedimaster > > Keep up to date with the community: http://www.coldfusionbloggers.org > > -- > 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]<model-glue%[email protected]> > For more options, visit this group at > http://groups.google.com/group/model-glue?hl=en > -- 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
