Hi Philippe, I believe a better GWT way to accomplish what you're describing is already available in the GWT Incubator project, which for now is coined as Immutable Resource Bundling. The ImmutableResourceBundle feature is well on its way to officially being included in a future GWT release, but for the moment, you can pick it up from the incubator and use it for your project.
There may be some minor API changes as the feature goes from the incubator to the final release, but methods that would be deprecated would be marked as such and we're not anticipating rock-your-world breaking changes as we bring it from the incubator to GWT core. Here are some useful links to help get you started with the ImmutableResourceBundle for your CSS resources: ImmutableResourceBundle Wiki page: http://code.google.com/p/google-web-toolkit-incubator/wiki/ImmutableResourceBundle ImmutableResourceBundle interface in GWT incubator trunk: http://www.google.com/codesearch?hl=en&q=ImmutableResourceBundle+show:EG84Mp1JNjc:D-wvOI3fDiw:EG84Mp1JNjc&sa=N&cd=1&ct=rc&cs_p=http://google-web-toolkit-incubator.googlecode.com/svn&cs_f=trunk/src/com/google/gwt/libideas/resources/client/ImmutableResourceBundle.java Hope that helps, -Sumit Chandel On Wed, Oct 22, 2008 at 5:38 AM, philippe <[EMAIL PROTECTED]>wrote: > > Hello, > > I'm looking for a clever way to manage skins in my application; my > current solution is to create a group of CSS files by skin, to add a > css attribute to the body tag with the skin name and to include *all* > the CSS to my page. This means downloading a bunch of unused files... > > Is somebody think about a better "GWT way" ? > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
