Monday, December 12, 2016

Re: How to make sure object is set before initWidget()

Have the parts that create the widget and populate the widgets separate.

A better approach would be, as recommended by GWT to use MVP design pattern.

1) You create your view/composite/widget (
2) You call your RPC in a presenter (
3) Your presenter than transfer the object to the view
4) The view just renders the object values

The documentation here below explains this in detail:


You received this message because you are subscribed to the Google Groups "GWT Users" 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