The xml file for your module (Module.gwt.xml) is used to compile your application and is not used at runtime. By including the <inherits name='com.google.gwt.user.theme.standard.Standard'/> in your module you are telling the compiler that it needs to inject the standard.css file into your application.
If you want to change styles you will have to use something like JSP or PHP to add a tag in the header like <link rel="stylesheet" href="< %= userSelectedStyle %>/style.css" />. On Jun 3, 10:12 am, Booth <[email protected]> wrote: > GWT 1.6 has three css themes, standard, chrome, and dark. As time > passes I expect there will be more. With that in mind I want to use > those themes, and let each user choose his/her own theme for the > application. > > My intention is to have a listbox with the available themes, thus > allowing the user to choose a theme and have that theme saved from > session to session, probably with a cookie. I am having a couple of > problems. > > 1) I have no idea how to fill the listbox, other than by hardcoding > the theme names. > 2) I have no idea how to tell the xml that we are changing themes. (I > am not even sure that the xml is where the change needs to happen.) > > I have looked and so far haven't found a tutorial or example that > deals with this issue. > > Any help would be appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
