Changes between Version 2 and Version 3 of FAQs/HowDoIDisableModelGlueDebuggingForSpecificEvents

Show
Ignore:
Timestamp:
02/01/10 01:15:53 (16 years ago)
Author:
DanWilson (IP: 65.190.16.149)
Comment:

changed the attribute, to the new message that can be broadcast

Legend:

Unmodified
Added
Removed
Modified
  • FAQs/HowDoIDisableModelGlueDebuggingForSpecificEvents

    v2 v3  
    77}}} 
    88 
    9 Model-Glue 3.1 and forward allows you to designate events and event types that should not have Model Glue debug output. 
     9Model-Glue 3.1 and forward allows you broadcast a message for any request that should not have Model Glue debug output. 
    1010 
    11 Simply decorate your event-handler or event-type with disableDebug=true and Model-Glue debugging will vanish. In both examples, the Model Glue debugging would be suppressed: 
     11In both examples, the Model Glue debugging would be suppressed: 
    1212 
    1313{{{ 
    14 <event-handler name="eventHandlerWithDisabledDebug" disableDebug="true"> 
     14<event-handler name="eventHandlerWithDisabledDebug"> 
     15  <broadcasts> 
     16    <message name="modelglue.disableModelGlueDebugging" /> 
     17   ... 
    1518}}} 
    1619 
     
    2023        <event-type name="hasNoDebug" disableDebug="true"> 
    2124                <before> 
     25                        <broadcasts> 
     26                                <message name="modelglue.disableModelGlueDebugging" /> 
     27                        </broadcasts> 
    2228                </before> 
    2329        </event-type>