<h3>Your Input Requested</h3>
<p>
After a <a href="http://groups.google.com/group/model-glue/browse_thread/thread/de1d1fb86b5c4111" target="_blank">deep discussion on the Model-Glue mailing list about Default Event Types</a> we've come up with something that seems to work for everyone. <a href="http://datacurl.com/modelglue/ModelGlue-DefaultEventTypes.zip">Here is a special build with an implementation of Default Event Types</a> for your review.</p>
<h3>Explanation</h3>
<p>As you know, Model-Glue Event Types allow classification of functionality and assignment to Event-Handlers. Event Types increase reusability, code-clarity and increase line-potency of Model-Glue applications. You can <a href="http://docs.model-glue.com/wiki/HowTos/HowToUseTypedEvents#HowToUseTypedEvents" target="_blank">read more on Model-Glue Event Types here</a>.</p>

<h3>Where You Come In</h3>
<p>We want to have a community review on this feature. Please take it for a test drive. Here is how you use it:</p>
<code>
<event-types>
  <event-type name="MyDefaultEventType">
    <after>
      <results>
        <result do="template.main" />
      </results>
    </after>
  </event-type>

  <event-type name="AnotherEventType">
    <after>
      <results>
        <result do="template.different" />
      </results>
    </after>
  </event-type>
</event-types>

<!-- declares the default event type -->
<event-handlers defaultType="MyDefaultEventType">
<!-- inherits the defaultType -->
  <event-handler name="page.1">
  </event-handler>

<!-- overrides the defaultType and only gets AnotherEventType -->
  <event-handler name="page.2" type="AnotherEventType">
  </event-handler>

<!-- removes the defaultType -->
  <event-handler name="page.3" type="">
  </event-handler>
</event-handlers>

<!-- no default type declared -->
<event-handlers>
<!-- apply event type individually  -->
  <event-handler name="page.3" type="AnotherEventType">
  </event-handler>
</event-handlers>
</code>

<p>A special thanks to <a href="http://chris.m0nk3y.net/" target="_blank">Chris Blackwell</a> for providing a patch to enable this feature. Another thanks to <a href="http://www.alagad.com" target="_blank">Doug Hughes</a> for helping me get the XMLModuleLoader unit tests sorted out.</p>