Re: using ImageSource from ClientBundle in CSS file

2010-02-11 Thread Tsukasa
Sorry for being incomplete: It seems to be important to include an appropriate @UiField annotated (at least) default visible field named style of the according type in the Java class reflecting the widget. In my case - according to the codesnippets above: @UiField HeaderCss style; This was done i

Re: using ImageSource from ClientBundle in CSS file

2010-02-11 Thread Tsukasa
Thanks Thomas, your piece of advice removed the cobwebs from my thoughts. The solution is made as follows: header.ui.xml (extract): . header.css (extract): @sprite .headerBanner { gwt-image: 'headerBG'; height: 100px; width: 10

Re: using ImageSource from ClientBundle in CSS file

2010-02-10 Thread Thomas Broyer
On 10 fév, 14:57, Tsukasa wrote: > Hi, > > I'm trying to get some modular app desgin working using GWT and MVP. > But now I'm stuck in some ClientBundle issue. > > I wanted to create a ClientBundle for my header widget which contains > the CSS information and image resources. CSS definitions sho

using ImageSource from ClientBundle in CSS file

2010-02-10 Thread Tsukasa
Hi, I'm trying to get some modular app desgin working using GWT and MVP. But now I'm stuck in some ClientBundle issue. I wanted to create a ClientBundle for my header widget which contains the CSS information and image resources. CSS definitions should be stored in a seperate file called header.c