Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7DR#2
-
Component/s: Framework
-
Labels:None
-
Environment:n/a
Description
-
Hide
- Test_DynamicLocale.war
- 5.30 MB
- Michael Thiem
-
- META-INF/MANIFEST.MF 0.0 kB
- WEB-INF/classes/.../PreferenceBean.class 1 kB
- WEB-INF/classes/.../messages_de.properties 0.1 kB
- WEB-INF/classes/.../messages_en.properties 0.1 kB
- WEB-INF/faces-config.xml 0.6 kB
- WEB-INF/html_basic.tld 244 kB
- WEB-INF/jsf_core.tld 25 kB
- WEB-INF/lib/backport-util-concurrent.jar 343 kB
- WEB-INF/lib/commons-beanutils.jar 100 kB
- WEB-INF/lib/commons-collections.jar 164 kB
- WEB-INF/lib/commons-digester.jar 96 kB
- WEB-INF/lib/commons-fileupload.jar 52 kB
- WEB-INF/lib/commons-logging.jar 27 kB
- WEB-INF/lib/el-api.jar 24 kB
- WEB-INF/lib/el-ri.jar 97 kB
- WEB-INF/lib/jsf-api.jar 324 kB
- WEB-INF/lib/jsf-impl.jar 602 kB
- WEB-INF/lib/jstl.jar 17 kB
- WEB-INF/.../krysalis-jCharts-1.0.0-alpha-1.jar 151 kB
- WEB-INF/lib/standard.jar 343 kB
- WEB-INF/lib/xercesImpl.jar 1.15 MB
- WEB-INF/lib/xml-apis.jar 190 kB
- WEB-INF/web.xml 3 kB
- index.jsp 0.2 kB
- main.jspx 0.9 kB
- WEB-INF/lib/icefaces.jar 744 kB
- WEB-INF/lib/icefaces-comps.jar 1.48 MB
-
Hide
- Test_DynamicLocale.zip
- 29 kB
- Michael Thiem
-
- Test_DynamicLocale/.project 1 kB
- Test_DynamicLocale/.../messages_en.properties 0.1 kB
- Test_DynamicLocale/.../messages_de.properties 0.1 kB
- Test_DynamicLocale/.../PreferenceBean.java 0.7 kB
- Test_DynamicLocale/.../messages_en.properties 0.1 kB
- Test_DynamicLocale/.../messages_de.properties 0.1 kB
- Test_DynamicLocale/.../PreferenceBean.class 1 kB
- Test_DynamicLocale/WebRoot/.../web.xml 3 kB
- Test_DynamicLocale/.../faces-config.xml 0.6 kB
- Test_DynamicLocale/.../.faces-config.mex 0.1 kB
- Test_DynamicLocale/.../html_basic.tld 244 kB
- Test_DynamicLocale/WebRoot/.../jsf_core.tld 25 kB
- Test_DynamicLocale/WebRoot/.../MANIFEST.MF 0.0 kB
- Test_DynamicLocale/WebRoot/index.jsp 0.2 kB
- Test_DynamicLocale/WebRoot/main.jspx 0.9 kB
- Test_DynamicLocale/.mymetadata 0.3 kB
- Test_DynamicLocale/.classpath 0.5 kB
Issue Links
- depends on
-
ICE-2485 Set Ajax request header Accept-Language from previous lifecycle's Locale
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Automated regression test failed on Feb. 1 @ 10pm. Likely related to changes in ICE-2551. Re-opened.
Unfortunately FacesContext.getCurrentInstance().getViewRoot().setLocale(locale) do not work in my environment: ICEFaces 1.7.2 SP1 + Seam 2.1SP1. I tried this to make workaround for problem with non-working Seam's LocaleSelector (ICE-2147) but have no success.
Hi,
I have exactly the same issue. using Netbeans 6.5 (ICEFaces 1.7.2).
The call to FacesContext.getCurrentInstance().getViewRoot().setLocale(locale) doesn't seem to work at all.
This piece of code was working fine in Netbeans 6.1 (Woodstock components).
Any suggestion would be very welcome.
Is it possible that this is again an issue in ICEfaces 1.8 RC1? I've upgraded the libraries for testing purposes in an existing project and I'm experiencing this behaviour now.
I'm setting the locale by FacesContext.getCurrentInstance().getViewRoot().setLocale(locale).
I believe the right thing to do would be to modify the order of the supported locales (see Application.setSupportedLocales) or just change the default locale (see Application.setSupportedLocale).