[seam-issues] [JBoss JIRA] (JBSEAM-5086) localization settings via component.xml doesn't work
Marek Novotny (JIRA)
jira-events at lists.jboss.org
Fri Apr 12 07:28:56 EDT 2013
Marek Novotny created JBSEAM-5086:
-------------------------------------
Summary: localization settings via component.xml doesn't work
Key: JBSEAM-5086
URL: https://issues.jboss.org/browse/JBSEAM-5086
Project: Seam 2
Issue Type: Bug
Components: JSF Integration
Affects Versions: 2.3.0.Final
Reporter: Tomas Remes
Fix For: 2.3.1.CR1
Adding following snippet to components.xml does not work as expected:
<inter:locale-config default-locale="cs" supported-locales="en cs"/>
And it produces following message in server log after application deployment:
"SEVERE [javax.faces] (MSC service thread 1-2) Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory. Attempting to find backup."
If you check class org.jboss.seam.international.LocaleConfig.java and its initLocaleConfig() method, then you'll notice that application variable resolves always to null in this case, therefore the locales are never set correctly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list