Skip to content

Instantly share code, notes, and snippets.

@gonzalad
Created February 21, 2012 11:10
Show Gist options
  • Save gonzalad/1875898 to your computer and use it in GitHub Desktop.
Save gonzalad/1875898 to your computer and use it in GitHub Desktop.
Seam 3 Theme Configuration
@Singleton
@Startup
public class MyAppStartupConfig {
@Inject
private ThemeSelector themeSelector;
@PostConstruct
public void onLoad() {
themeSelector.setAvailableThemes(new String[]{"blue", "red", "black"});
}
}
@gonzalad
Copy link
Author

But perhaps there's a better solution... donno

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment