ui:image declares an ImageResource added to the implicit ClientBundle
generated by each ui.xml file (where the ui:data and ui:style are put too,
as DataResource and CssResource respectively).
If you want an Image widget, then yes, use a g:Image.
Note also, that ui:image are top level elements (direct children of the
ui:UiBinder root element) while g:Image are widgets, so either they're your
root widget (and single widget, given that they're not containers) or they
appear inside other container widgets. In other words: it should not be
possible to confuse them and use one for the other, it would fail very early
(and probably be marked as an error in Eclipse).
--
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.