You can use multiple event types per event handler, but not types on types.

DW


On Thu, Oct 8, 2009 at 12:09 PM, Jared Rypka-Hauer
<[email protected]>wrote:

>
> I don't think typed events have any sort of inheritance, and typically
> the broadcasts are redundant like that by design. Its something
> everyone complains about until they have an ultramassive application
> and realize that knowing what your events are doing at a glance is
> extremely valuable.
>
> The thing is, In exchange for a bit of redundancy, you have automatic
> documentation built in to your application. If you name your events
> and controller functions well, and you use the MG config file as it's
> intended, you could send me your config file and I would have an
> immediate idea of what your application is doing. It's why MG is so
> popular for team dev efforts.
>
> Trust me, I understand your frustration, but there is a payoff... it
> just comes a bit later on.
>
> J
>
> On Oct 8, 2009, at 10:09 AM 10/8/09, John C. Bland II wrote:
>
> > Ok...I'm messing with the typed events and realize I have multiple
> > event types with duplicated code.
> >
> > <before>
> >                 <broadcasts>
> >                     <message name="SetPageConfigs" />
> >                 </broadcasts>
> >             </before>
> >
> > I try to set a type on an eventtype but it doesn't work (figured it
> > wouldn't) so my question is: can I "chain" (create parent types)
> > typed events?
> >
> > I don't want to have to have the above block for all X of my typed
> > events. Thoughts?
>
> >
>


-- 
“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
-~----------~----~----~----~------~----~------~--~---

Reply via email to