Thanks.  AbstractImagePrototype.create(imageRsrc).getHTML() is it.

On Jan 8, 11:21 am, Thomas Broyer <t.bro...@gmail.com> wrote:
> ...
>
> You'd have to use:
>    AbstractImagePrototype.create(imageRsrc).getHTML()
> in GWT 2.0 for the equivalent of the ImageBundle code.
>
> ...or you can use a ClientBundle with both an ImageResource and a
> CssResource containing a @sprite, and then:
>    return "<span style='white-space: nowrap'><span style='display:
> inline-block' class='" + clientBndl.css().sprite() + "'></span> " +
> caption + "</span>";
>
> (well, you'd probably pass a 'String className' argument instead,
> which you'd set to clientBndl.css().sprite() or whatever when calling
> createHeaderHTML)
-- 
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