Re: UIBinder & sprite

2011-10-25 Thread Thomas Broyer
The difference is that the Dev Guide references a ClientBundle (with its own CssResource) from a UiBinder file, whereas in the issue, the OP tries to create a CssResource (ui;style) referencing an ImageResource declared in another ClientBundle. You currently have a choice: - either use Clien

UIBinder & sprite

2011-10-24 Thread MeiAestro
I am a bit confused regarding the use of sprites in UIBinder Classes. As I was not able to use a css with sprites in a UIBinder XML I was searching the web for this problem and found this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=5320 On the other hand exactly this scena

Re: Uibinder, @sprite and ui:with ClientBundle ImageResource, HOW?

2010-09-28 Thread Chris Conroy
For reference, bug is filed here: http://code.google.com/p/google-web-toolkit/issues/detail?id=5320 On Tue, Sep 28, 2010 at 2:29 PM, Chris Conroy wrote: > Andrew, > > Sorry for my originally hasty reply. Turns out that the docs aren't clear > about this at all, but this is a current limitation o

Re: Uibinder, @sprite and ui:with ClientBundle ImageResource, HOW?

2010-09-28 Thread Chris Conroy
Andrew, Sorry for my originally hasty reply. Turns out that the docs aren't clear about this at all, but this is a current limitation of You will have to use something like this, at least for now: @sprite .x { gwt-image: 'someImage'; } We'll be updating the docs on this and looking t

Re: Uibinder, @sprite and ui:with ClientBundle ImageResource, HOW?

2010-09-27 Thread Andrew Hughes
Thanks Chris, unfortunately that's what I am doing. but here's an example of what is NOT working to clear things up EXAMPLE @sprite .x { gwt-image: 'res.someImage'; /** <- THIS DOES NOT WORK! *? } Cheers for replying tho :) On Tue, Sep 28, 2010 at 8:24 AM, Chris Conroy w

Re: Uibinder, @sprite and ui:with ClientBundle ImageResource, HOW?

2010-09-27 Thread Chris Conroy
Sounds like you need to use http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Using_an_external_resource On Mon, Sep 27, 2010 at 2:17 AM, Andrew Hughes wrote: > Howdy, > > Our ui.xml template styles would like to access some ImageResources defined > in a ClientBundle. > > typ

Uibinder, @sprite and ui:with ClientBundle ImageResource, HOW?

2010-09-26 Thread Andrew Hughes
Howdy, Our ui.xml template styles would like to access some ImageResources defined in a ClientBundle. But the @sprite's can't ever seem to use the ClientBundle's ImageResources from the ui.xml's ... for example... @sprite .header { gwt-image: "res.companyLogo"; /** DOES NOT WORK*/ } P