Tuesday, August 23, 2011

Re: (perplexing + frustrating) CSS image not found

I had a similar problem and I solved it in the following way.

S. Abraham
www.DataStoreGwt.com

Create the package in War directory name as images and put all the gif
files.

uploaded directory structure like

/war/images/bottom.gif

In css chage the background-image property like this.

.panelEnterBottom{
padding-left:20px;
padding-right:20px;
padding-top:20px;
background-image: url(images/bottom.gif);
}

On Aug 23, 10:20 am, Shawn Brown <big.coffee.lo...@gmail.com> wrote:
> Hi,
>
> I have a compiled project deployed on AppEngine.
>
> Some .gif files are not found by GWT.
>
> I am perplexed.
>
> The CSS file is found.
> Other .gif images used by the CSS file are found.
>
> Looking at DevTools in Chrome, I see which ones are not found.
> Clicking on the link, the server finds them and shows them in my
> browser.
>
> Why can I directly access them using the url that it is being reported
> GWT can not find them at.
>
> I mean:
>
> /images/panel/top.gif  ---> is found
> /images/panel/bottom.gif --> is not found by gwt but can be accessed
> by using the link DevTools says GWT says it's not at.
>
> Dev mode shows the same things.
>
> It's just beyond crazy.
>
> If client bundle is the only way to use things, the docs should say that.
>
> Shawn

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate