In order to change the css at runtime (or better not "change" but "append")
try this native method:
public static native void loadCss(String url) /*-{
var fileref=document.createElement("link");
fileref.setAttribute("rel","stylesheet");
fileref.setAttribute("type","text
I would say you need to use JSNI - do a search for how to change CSS
file using JavaScript and then implement something similar wrapped in
a JSNI method.
You can then call that method to change the style sheet, either
programmatically by just calling it, or if you want to harness the
bootstrappin
Hi,
I have different css files in my application say user1.css, user2.css
and so on corresponding to each user. My requirement is that when a
particular user logs in the system (consider the LMS application) I
have to apply the css corresponding to that user.
How can I achieve this requirement u