Re: Using external styles with UiBinder error

2010-02-25 Thread shahid
Thanks Chris and sorry I am replying to this post very late. The problem is I don't see how do I use it for background images. I want to be able to display a background icon inside a DateBox (i.e. calendar.gif) and as far as I understand I have to define the style .datebox using the @sprite. The

Re: Using external styles with UiBinder error

2010-02-12 Thread Chris Ramsdale
Why not reference your styles from a CssResource that itself is wrapped in a ClientBundle? Something like: *Resources.java* public interface Resources extends ClientBundle { public static final Resources INSTANCE = GWT.create(Resources.class); @Source(UiStyles.css) public MyUiStyles