Ticket #350 (closed enhancement: fixed)
Disable Model-Glue debug information for certain events
| Reported by: | michael@… | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 3.1 Maintenance Beta |
| Version: | 3.0.178 | Severity: | enhancement |
| Keywords: | Debug,modelglue.xml | Cc: |
Description
It would be easier to disable the debug output for certain events. Like when I have a event which only generates a XML feed, I would like to disable debug output for that event (set in the ModelGlue?.xml file).
For instance something like:
<event-handler name="galleryxml" debug="false">
<broadcasts>
<message name="getGalleryXML" />
</broadcasts> <results /> <views>
<include name="body" template="feed.xml.cfm" />
</views>
</event-handler>
This would result in a XML feed without the debug output under it as this would break (in my case) Flex XML sources for certain components when I'm in debug mode. And sometimes you need to debug the page, but not feeds like that.
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)