[seam-issues] [JBoss JIRA] Created: (SEAMINTL-43) Alter user locale not working
Esteve Aviles (JIRA)
jira-events at lists.jboss.org
Wed Apr 6 07:37:33 EDT 2011
Alter user locale not working
-----------------------------
Key: SEAMINTL-43
URL: https://issues.jboss.org/browse/SEAMINTL-43
Project: Seam International
Issue Type: Bug
Affects Versions: 3.0.0.Final
Environment: JBoss 6.0.0.Final, Seam 3.0.0.Final
Reporter: Esteve Aviles
Assignee: Ken Finnigan
Hi,
I am trying to change locale properties settings without success.
I try to use it as described in the documentation:
public String changeLocale(){
log.info("Changing locale to: "+ new Locale(selectedLocale.get()));
localeEvent.fire(new Locale(selectedLocale.get()));
log.info("Locale Changed to: "+ userLocale);
messages.warn(new BundleKey("resources", "locale.changeok"), new Locale(selectedLocale.get()));
return null;
}
An the result is something like this:
13:08:27,664 INFO [org.jboss.seam.international.examples.locale.UserSessionView] Changing locale to: pt_br
13:08:27,664 INFO [org.jboss.seam.international.examples.locale.UserSessionView] Locale Changed to: ca_ES
Resource boundle is not changed neither with the default nor with the changed one.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list