Thursday, February 28, 2013

Re: New widgets: Best way to implement them?

Interesting topic. 
Can't really comment on those things but I guess the CellWidgets are a good starting point. 
I also came across a good stackoverflow reply which I think might also be useful:

Yeah I have also came across this link and it looks pretty similar to the appearance pattern. Downside is that when your widget only implements IsWidget then its not fully UiBinder compatible as <g:Spinner addStyleNames=""/> does not work anymore. You probably also want to define your own IsWidget interface that extends GWT's IsWidget so you can add all methods that GWT's Widget class provides. Otherwise you can't call the Widget setter methods from UiBinder (setHeight(), etc.).

-- J.

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
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment