Created
February 21, 2012 11:10
-
-
Save gonzalad/1875898 to your computer and use it in GitHub Desktop.
Seam 3 Theme Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Singleton | |
@Startup | |
public class MyAppStartupConfig { | |
@Inject | |
private ThemeSelector themeSelector; | |
@PostConstruct | |
public void onLoad() { | |
themeSelector.setAvailableThemes(new String[]{"blue", "red", "black"}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
But perhaps there's a better solution... donno