Tuesday, September 2, 2014

Re: How to dynamically load css style in GWT-based application

Hi Yuri,

How do you make the call to the server? via the onModuleLoad?

On Tuesday, January 15, 2013 6:52:57 PM UTC, Yuri C wrote:
I have 2 CSS loaders.
One relies on <link> tags. This is the preferred way to load CSS as long as you don't need to be notified when the stylesheet is loaded.
Another one updates the page with CSS loaded via a separate HTTP request and you can register a callback to be notified when the CSS is loaded.


On Wednesday, December 12, 2007 4:22:59 AM UTC-5, yadong wrote:
I am working on an web application in which the css style varies based
on different user, I am curious how to load css file dynamically.
Currently we use JSTL tag to access server side parameter to determine
which css file needs to be used.

--
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