[errai-dev] Errai navigation + templating discussion
Eric Wittmann
eric.wittmann at redhat.com
Tue Jan 15 09:59:07 EST 2013
+1 (though I suspect it's an edge case)
On 01/15/2013 09:52 AM, Jonathan Fuerth wrote:
> 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
> errai-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/errai-dev
>
More information about the errai-dev
mailing list