Don't use an Image widget, but an element that you'll "apply" the 
ImageResource to (or, even better, use a @sprite in a CssResource if you 
can): create an AbstractImagePrototype from your ImageResource, then use 
either one of getHTML or createElement (if you don't plan on supporting IE6 
–and I really mean IE6, not the whole ie6 permutation, i.e. this will work 
OK in IE7 and "IE8 in compatibility view"–, then you can even use applyTo, 
by cast()ing your element to ImagePrototypeElement)

-- 
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