On 27 juin, 08:15, giannisdag <pascoua...@gmail.com> wrote:
> Also, if I write:
> <div id="langMenu"><g:Image ui:field='myImage' ></g:Image> </div>
> and then access it programmatically:
>
>         @UiField Image myImage;
>
>         public helloWorld() {
>                 initWidget(uiBinder.createAndBindUi(this));
>                 
> myImage.setResource(villaViewClientBundle.INSTANCE.bathroom());
>         }
>
> It works fine.

Could it simply be that in the code originally posted you're
referencing res.bedroom instead of res.bathroom?

(as a side note, shouldn't your @Source reference "design/images/
photos/bedroom.jpg", i.e. without the "xel/villaView1/client/" part?)

-- 
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-tool...@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.

Reply via email to