Details
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
Issue Links
- depends on
-
ICE-2485 Set Ajax request header Accept-Language from previous lifecycle's Locale
- Closed
Activity
Philip Breau
created issue -
Philip Breau
made changes -
Field | Original Value | New Value |
---|---|---|
Support Case References | https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=4437 |
Ken Fyten
made changes -
Fix Version/s | 1.7Beta 1 [ 10112 ] | |
Assignee | Mark Collette [ mark.collette ] |
Ken Fyten
made changes -
Assignee Priority | P1 |
Michael Thiem
made changes -
Attachment | Test_DynamicLocale.war [ 10767 ] |
Michael Thiem
made changes -
Attachment | Test_DynamicLocale.zip [ 10768 ] |
Ken Fyten
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Assignee | Mark Collette [ mark.collette ] | Greg Dick [ greg.dick ] |
Ken Fyten
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Assignee Priority | P1 | |
Resolution | Fixed [ 1 ] | |
Assignee | Greg Dick [ greg.dick ] |
Ken Fyten
made changes -
Fix Version/s | 1.7 [ 10080 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
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).