[jboss-user] [JBoss Seam] - Re: How to change locale from a Session Bean?

christian.bauer@jboss.com do-not-reply at jboss.com
Tue Nov 7 10:52:48 EST 2006


This is easier with a built-in Seam component:


  | <h:form> 
  |     <h:panelGroup> 
  |         <h:outputText value="#{messages['SelectLanguage']}"/>: 
  |         <h:commandLink 
  |             value="EN" 
  |             action="#{localeSelector.selectLanguage('en')}"/> 
  |         | 
  |         <h:commandLink 
  |             value="DE" 
  |             action="#{localeSelector.selectLanguage('de')}"/> 
  |     </h:panelGroup> 
  | </h:form> 
  | 



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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983808



More information about the jboss-user mailing list