[jboss-user] [JBoss Seam] - Re: HOWTO: override ThemeSelector (valueChangeListener, cook
avbentem
do-not-reply at jboss.com
Tue Mar 13 12:42:40 EDT 2007
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
More information about the jboss-user
mailing list