On 2013-01-14, at 6:49 PM, Christian Sadilek wrote: > The advantage of this programmatic solution is that it's flexible and also > becomes a widget-specific feature which won't add complexity to the framework > (no additional annotations required). Of course, that argument only holds if > we consider this requirement an edge case, which I think it is. If this is a > more common scenario we could also add an @WidgetAttached annotation to get > rid of the AttachHandler boilerplate or implement the suggested > @TemplateOverride.
I agree as well. I'd only add that if we find out later that this *is* a common requirement, I'd prefer the declarative approach (either @TemplateOverride or a new attribute in @Templated) over the simplified-but-still-programmatic approach of @WidgetAttached methods. -Jonathan _______________________________________________ errai-dev mailing list [email protected] https://lists.jboss.org/mailman/listinfo/errai-dev
