Thank you for your reply, but I can't understand what do you suggest. If I remove the code in uibinder that calls <g:Image>, then my code works fine, I don' t have to change it the way you are showing, if I get it right. To be more presice, I will paste the entire code of my ui.xml
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"> <ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" xmlns:g="urn:import:com.google.gwt.user.client.ui" ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat' ui:generateKeys="com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator" ui:generateLocales="default"> <ui:with field='res' type='xel.villaView1.client.villaViewClientBundle'/> <g:DockLayoutPanel unit='EM'> <g:north size='14'> <g:HTMLPanel> <div class="titleblock"> <div id="logo"><img src="/images/dolphin.gif"/></div> <div id="langMenu"><g:Image resource="res.bedroom" ></g:Image> </ div> <h1 id="mainTitle"><ui:msg description="Main Title">Main title</ ui:msg></h1> </div> </g:HTMLPanel> </g:north> <g:center> <g:TabLayoutPanel barUnit='PX' barHeight='20'> <g:tab> <g:header size='7'><ui:msg description="Home">Home</ui:msg></ g:header> <g:Label>adsfaable</g:Label> </g:tab> <g:tab> <g:header size='7'><ui:msg description="Photos">Photos</ ui:msg></g:header> <g:Label>photos</g:Label> </g:tab> <g:tab> <g:header size='7'><ui:msg description="Prices">Prices</ ui:msg></g:header> <g:Label>Prices</g:Label> </g:tab> <g:tab> <g:header size='7'><ui:msg description="Map">Map</ui:msg></ g:header> <g:Label>Map</g:Label> </g:tab> <g:tab> <g:header size='7'><ui:msg description="Contact">Contact</ ui:msg></g:header> <g:Label>contact</g:Label> </g:tab> </g:TabLayoutPanel> </g:center> <g:south size='2'> <g:Label>Giannis</g:Label> </g:south> </g:DockLayoutPanel> </ui:UiBinder> and the code of the relevant java file public class helloWorld extends Composite { private static helloWorldUiBinder uiBinder = GWT .create(helloWorldUiBinder.class); interface helloWorldUiBinder extends UiBinder<Widget, helloWorld> { } public helloWorld() { initWidget(uiBinder.createAndBindUi(this)); } } -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
