Ah, fixed it by moving ClientBundle interface into the same
pachage/folder as images are. So that now instead of
@Source("images/upload2.gif") i use @Source("upload2.gif") and it's
fine.On 3/3/11, Matej Jelovcan <[email protected]> wrote: > Hey guys. > > I am having a bit of a problem with ClientBungle implementation. I am > trying to link it to a animated gif. When I do that the page loads > fine but on the place where that animated gif should be at there is > nothing. And jetty reports this error for IE client: > com.google.gwt.core.client.JavaScriptException: (Error): Invalid argument. > > My clientbundle implementation is really simple > public interface Images extends ClientBundle > { > public static final Images INSTANCE = GWT.create(Images.class); > > @Source("images/loading.gif") > ImageResource loading(); > > @Source("images/panorama.png") > ImageResource banner(); > > @Source("images/uploadStill.jpg") > ImageResource uploadOut(); > > @Source("images/upload2.gif") > ImageResource uploadOver(); > } > > all of the above load fine with exception of the upload2.gif. This one > just does not want to work. I have zero idea why. > > If I reference it by URL, it works perfect. > > Any ideas? > Thanks. > -- 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.
