Thursday, May 29, 2014

Re: CSS not loading

Hi Zied, Thad,

Thanks to both of you for your help. In fact the browser's cache was not in cause: I'm not using the built-in HTML server but my own one (in order to be able to request a PHP+MySQL server, cf. SOP topics) and for that I have to copy manually the files of the "war" directory to the root directory of my server... It took a while to find this, but now it works!

Thanks a lot,

Mathieu



2014-05-29 23:10 GMT+02:00 Thad Humphries <thad.humphries@gmail.com>:
I suspect you much clear your browser cache. Your CSS is in separate file and loaded from your HTML, so GWT is never touching it. 

I've had a similar issue when I make changes to a JavaScript file loaded from my HTML by a <script> element. I must clear cache to see the results.


On Thursday, May 29, 2014 2:31:52 PM UTC-4, m...@gmail.com wrote:
Dear all,

I'm new to GWT and trying to apply changes in the CSS file, but they won't ever charge although I have declared it in the HTML headers. CSS is in the same "war" directory as the main HTML file.

I understand that this method is deprecated, but should I use the Client Bundle (rather complicated) even for my first steps with GWT?!

Your help would be appreciated,

Thanks,

Mathieu

--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/ubIIPw7c2_I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment