Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7DR#2
-
Component/s: Framework
-
Labels:None
-
Environment:n/a
Description
If you set the locale dynamically, it is only temporally changed. The next time D2DViewHandler.createView() is called, calculateLocale() will be called, which effectively reverts the locale to the one specified on the HTTP header. A common use case is to allow the user to set the locale dynamically, by clicking on a flag icon on the page. The way we handle locales prevents this use case
-
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