On Thu, May 21, 2009 at 7:45 AM, Jamie Krug wrote: ... > The only situation I could see being slightly confusing is when you > have multiple default event types for an event-handlers block and, for > a single event-handler, you'd like to remove one of the default types > and add a new type. In this situation you'd have to list both your new > type and "repeat" any of the default types that you'd like to keep in > your event-handler type attribute. It feels a little funny to list a > default type in an explicit event-handler type attribute, but since > you need that to be an override, it's the only option I can think of. > I just mention it as the only situation I can see not being crystal > clear, but I'm okay with it -- still has my vote.
I've run into the same thing with scaffolding. What about "special" keywords? Something like: <event-handlers defaultType="secured,templated> <event-handler name="login.form" type="_allExcept_secured,foo"> </event-handler> </event-handlers> Kinda ugly, but... it's an idea. =] -- The great gift of conversation lies less in displaying it ourselves than in drawing it out of others. He who leaves your company pleased with himself and his own cleverness is perfectly well pleased with you. Jean de la Bruyere --~--~---------~--~----~------------~-------~--~----~ 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 . -~----------~----~----~----~------~----~------~--~---
