[jboss-user] [JBoss Seam] - Re: Bug of i18n with the file name of upper or lower charate

Seto do-not-reply at jboss.com
Thu Dec 7 00:30:03 EST 2006


the code in the template.xhtml

							<h:selectOneMenu  value="#{localeSelector.language}">
								<f:selectItems value="#{localeSelector.supportedLocales}"/>
							</h:selectOneMenu>
							#{localeSelector.language}
							<h:commandButton action="#{localeSelector.select}" value="#{messages['ChangeLanguage']}"/>

code in faces-config.xml

    <!-- i18n -->

    
	  <locale-config>
	  	<default-locale>zh_CN</default-locale>
		<supported-locale>zh_CN</supported-locale>
		<supported-locale>zh_TW</supported-locale>
		<supported-locale>en</supported-locale>
	  </locale-config>
    

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

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



More information about the jboss-user mailing list