Comment by t.broyer:
eric.sadou: AFAIK, the DialogBox use case has been fixed so you no longer
need dygger's workaround (HasWidgetsDialogBox)
The @UiFactory tells UiBinder how to "instantiate" a widget (DialogBox in
this case), and dygger made it return 'this' because the "owner class" is
already a DialogBox instance. Without the @UiFactory, UiBinder would
instantiate a new DialogBox or use a @UiField(provided=true) field.
For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors