And when overriding the ThemeSelector, why not add a method such as 
LocaleSelector#selectLanguage(String)

/**
  |  * Set the theme and force it to load, useful for quick action links: <br>
  |  * <code>
  |  *   <h:commandLink value="#{messages['org.jboss.seam.theme.default']}"
  |  *      action="#{themeSelector.selectTheme('default')}"/>
  |  * </code>
  |  * 
  |  * @param theme the name of the theme to be loaded
  |  */
  | public void selectTheme(String theme) {
  |   setTheme(theme);
  |   select();
  | }

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027604#4027604

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027604
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to