> One issue with many simple built-in widgets in GWT is that they register
event handlers even when you
> don't handle any event yourself, just to be able to update the styles
(focus, hover, etc.)

I never really understood why they "always" add a listener. So I suppose
this will change in the "near" future as this should be realized through
CSS I suppose?

BTW: I find it hard to design widgets correctly: from one side, it's great
to use a html template and throw in the widgets at the correct locations
(UIBinder, HTMLPanel). However, considering OO design, you end up with
small html pieces which are more like one or a few widgets, which are nice
to reuse of course (the smaller the pieces, the better the reuse), but more
"heavy" as you end up more widgets as they are often the root of a small
html piece that you want to reuse.
Currently I use Element builders, and add all stuff myself, and hardly use
Widgets directly. This works ok, but I am still not completely
 happy, curious what the future brings (Web Components)...

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to