I don't think it would really. The main change would be to add the defaultEventType attribute to <event-handlers>, this would be optional so I don't see that causes a problem. Allowing multiple <event-handlers> blocks in a single config file wouldn't break any existing apps I guess it would just require some documentation, and therein lies the real problem ;)
2009/5/19 Doug Hughes <[email protected]> > Any concern that this muddies up the XML? > > Doug Hughes, President > Alagad Inc. > [email protected] > 888 Alagad4 (x300) > Office: 919-550-0755 > Fax: 888-248-7836 > > > On Tue, May 19, 2009 at 5:40 PM, Bob Silverberg > <[email protected]>wrote: > >> >> 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 . -~----------~----~----~----~------~----~------~--~---
