Re: ImageResource, Sprites and "Data:" URL

2011-10-17 Thread Gaurav Vaish
Oops! I think I replied to the individuals last time ;) Here's a summary: @DoNotEmbed is only for DataResource and not for any ResourcePrototype. Looked at the code of ImageResourceGenerator which says "forceInline = false" always, without caring about DoNotEmbed. IMHO, a simple change to this ef

Re: ImageResource, Sprites and "Data:" URL

2011-10-17 Thread Nicolas Antoniazzi
If your resource is declared from an interface, you can use a @DoNotEmbed annotation above specific resources instead of disabling it for all your application. http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/resources/client/DataResource.java?r=10282 2011/1

Re: ImageResource, Sprites and "Data:" URL

2011-10-17 Thread Thomas Broyer
Simply add to your gwt.xml. See http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html#Levers_and_knobs -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/

ImageResource, Sprites and "Data:" URL

2011-10-16 Thread Gaurav Vaish
Hi, Is there any option to force use the generated sprite image instead of the "data:image/*" URL? As I understand, the only reason to use "data:" URL is to avoid extra connection to the server. However, if an sprite has been created (and my sprite has around 150 images combined in), I'd prefer u