seam/faces — pull request #69 by gonzalad (2012-02-22 17:30:59+00:00)
Title: SEAMFACES-238 : Theme handling (from Seam 2)

Showcase included in viewconfig webapp.

* initializing themes : create a startup Singleton bean, inject ThemeConfig and set availableThemes field.
* theme key / values : property files (same name as the availableThemes properties).
* to use a theme in a JSF file, just use {theme.key}

see http://docs.jboss.org/seam/2.2.2.Final/reference/en-US/html/i18n.html#d0e14307

Sample usage
=============

Theme initialization :

```java
@Singleton
@Startup
public class MyAppStartupConfig {

@Inject
private ThemeConfig themeConfig;

@PostConstruct
public void onLoad() {
themeConfig.setAvailableThemes(new String[]{"blue", "red", "black"});
}
}
```

Theme usage :

```xml
#{theme.borderColor}
```

Theme selection :
```xml

```