On Tue, May 19, 2009 at 5:22 PM, Chris Blackwell <[email protected]> wrote:

> While i think of it, would it be any use to have a defaultEventType
> attribute for the event-handlers block, like Coldspring has the
> defaultAutoWire attribute for the beans tag?
> <event-handlers defaultEventType="TemplatedEvent,SecuredEvent">
> ...
> </event-handlers>
> <event-handlers defaultEventType="SomeOtherEventType">
> ...
> </event-handlers>
> <event-handlers>
> ...
> </event-handlers>
>

Oooh, I like that.  That would allow a developer, for example, to have
one set of default event types for the public side and a different set
of default event types for the admin side.

Were you thinking that that approach would be in addition to being
able to set one set of default event types in the model-glue config,
or in place of that?  I can see how giving developers two different
ways of specifying default event types could be seen as confusing by
some, but it would allow for maximum flexibility.

Bob

-- 
Bob Silverberg
www.silverwareconsulting.com

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