I haven't used Model-Glue for Flex yet, but I suspect that it's for the same
reason you have to define your broadcasts in MG:CF; because you can (and
probably should) have various (multiple!) broadcasts for a given request
that have nothing to do with the event name.

Adam


On Mon, Feb 9, 2009 at 9:19 AM, Tom Chiverton <[email protected]>wrote:

>
> How come I need to write this same block of code:
>        <event:Handler name="{EventHandlers.browseToWebReports}">
>                <event:broadcasts>
>                        <event:Message
> name="{MessageBroadcasts.browseToWebReports}" />
>                </event:broadcasts>
>        </event:Handler>
> for every single event ?
>
> Is it so I can map multiple UI events to the same event 'inside'
> MG:F ? Why wouldn't I just dispatch the same event from each, if so ?
>
> On a similar vain, why are their two file with near-identical
> constants defined in them - could I just merge them ?
>
> Tom
>
> >
>

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

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to