On May 12, 3:19 pm, Geoffrey Wiseman <geoffrey.wise...@gmail.com> wrote: > On May 12, 1:22 pm, Gal Dolber <gal.dol...@gmail.com> wrote: > > In real its ok what you are doing(in theory Widget should be used only when > > you need events), but the truth is that gwt's panels don't have any support > > for UiObjects so you need to use Widget. > > So even HTMLPanel can't easily absorb HTML once you bundle it up as a > GWT UiBuilder component. Ah well.
Coming back to this point -- the UiBinder documentation shows bundling HTML as a UiObject (http://code.google.com/webtoolkit/doc/latest/ DevGuideUiBinder.html#Hello_World) and the Google Plugin for Eclipse has an option to allow you to do this, but there doesn't seem to be much you can do with it having done so: all panels from RootPanel on down require you to insert a widget. So why would you create a UiObject component using UiBinder? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.