[jboss-user] [JBoss Seam] - Re: language resource bundle example

waynebagguley do-not-reply at jboss.com
Tue Mar 20 08:34:38 EDT 2007


I don't have any of those configs and resource bundles work a treat.

In your <h:selectOneMenu> tag, you don't specify where it is supposed to store the selected value.

Here is the code taken from the Seam v1.2 documentation:

  | <h:selectOneMenu value="#{localeSelector.language}">
  |     <f:selectItem itemLabel="English" itemValue="en"/>
  |     <f:selectItem itemLabel="Deutsch" itemValue="de"/>
  |     <f:selectItem itemLabel="Francais" itemValue="fr"/>
  | </h:selectOneMenu>
  | <h:commandButton action="#{localeSelector.select}" value="#{messages['ChangeLanguage']}"/>

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

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



More information about the jboss-user mailing list