quarks
quarks

Reputation: 35316

CSS not rendering on Chrome for Gwt application deployed in AppEngine

I wonder why my GWT application deployed in Appengine (Appspot) won't render properly with Google Chrome while being rendered properly with Firefox. I have tried both Chrome and Firefox under development mode and there is not problem for the two browsers.

What could be causing this?

Upvotes: 1

Views: 345

Answers (3)

Sam
Sam

Reputation: 2747

GWT creates two different cache files for two different browsers. this code is different in development mode and product mode.

you can check which file is loaded with developer tools in your browser.

is something like 6AF04C348A1F695F02971B5F417097D4.cache.html in one browser and a different *.cache.html (z.B. AA66E93E26DE37E8FA7F748457739037.cache.html) in the other browser.

you can see all compiled cache Files in your WAR/[modulename]/ folder

if you want to analyse this files you should compile it without obfuscation:

GWT Compile with outputstyle "detailed"

Upvotes: 0

Peter Knego
Peter Knego

Reputation: 80340

This is a known CSS deployment bug in SDK 1.6.1. The solution is to update your SDK to the latest version.

Upvotes: 1

quarks
quarks

Reputation: 35316

I added this on the html / jsp being loaded:

<link type="text/css" rel="stylesheet" href="...">

Upvotes: 0

Related Questions