On 21 June 2011 18:56, Thomas Broyer <[email protected]> wrote:
> Could it rather be about how you *use* the ImageResource?
> SeeĀ http://code.google.com/p/google-web-toolkit/issues/detail?id=6145
Ah, good call. And I even remember looking at those issues. This
should really be flagged by the compiler.
Anyway, for anyone else running into this, I changed
<img src="{res.myImage.getURL}" alt="My Image" class="{res.css.myImage}"/>
to
<g:Image resource="{res.myImage}" altText="My Image"
addStyleNames="{res.css.myImage}"/>
and things magically started to work again.
--
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.