I just checked in a pretty cool enhancement for Model-Glue into SVN. *Ticket:* http://trac.model-glue.com/ticket/350 *Title:* Disable Model-Glue debug information for certain events Example:
What if you have an event that generates JSON or XML or another structured format and you never ever ever want Model-Glue debugging to munge it up? Well now you can simply decorate your event-handler or event-type with disableDebug=true and Model-Glue debugging will vanish. In both code examples below, the Model Glue debugging will shut itself off for that request. Thus, your structured data won't be affected by Model-Glue debugging. *Examples:* * **<event-handler name="eventHandlerWithDisabledDebug" disableDebug="true"> * *Or using Event Types:* <event-type name="hasNoDebug" disableDebug="true"> <before> </before> </event-type> <event-handler name="eventHandlerWithEventTypeOfDisabledDebug" type="hasNoDebug"> DW -- “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
