UiBinder Concept

2011-05-13 Thread Nitish Upreti
In the sample code when building GUI with UiBinder the following declaration are very common-- xmlns:ui='urn:ui:com.google.gwt.uibinder' xmlns:g='urn:import:com.google.gwt.user.client.ui' However now when we declare an Image,we do it as *ui*:image field='logo' src='logo.png'/ why *ui

Re: UiBinder Concept

2011-05-13 Thread Thomas Broyer
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