Hi all,

I am using Seam2 (CVS.2007-08-21)

When i use the built-in Seam component localeSelector to change the user 
locale, i noticed that for the error messages hibernate validator use the 
locale defined in the browser settings (accept-language http header) rather 
than the seam locale.

Is this the expected behavior? 

If not is there a workaround?


JSP code :

  | <h:selectOneMenu value="#{localeSelector.language}" id="changeLanguage" 
style="width:100px">
  |     <f:selectItem itemLabel="English" itemValue="en"/>
  |     <f:selectItem itemLabel="Français" itemValue="fr"/>
  | </h:selectOneMenu>
  | <h:commandButton id="translate" action="#{localeSelector.select}" 
value="Change locale" />

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

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

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to