Details
-
Type:
New Feature
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: ICE-Components
-
Labels:None
-
Environment:All
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial
Description
Since <f:loadBundle> will cache the resource properties, changing the locale of the UIViewRoot dynamically does not cause the messages to update because the resource bundle is not reloaded. In order to reload the resource bundle, need to refresh the page or use redirect, but this causes a new UIViewRoot to be created and it will use the config and browser settings to determine the locale and load the bundle before the backing bean can set the locale of the ViewRoot.
Need a custom loadBundle that will prevent the bundle from caching and allow messages bundle to dynamically change when the locale is changed
Need a custom loadBundle that will prevent the bundle from caching and allow messages bundle to dynamically change when the locale is changed
Issue Links
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Ken Fyten [ ken.fyten ] |
Security | Private [ 10001 ] | |
Assignee | Ken Fyten [ ken.fyten ] | Mark Collette [ mark.collette ] |
Assignee Priority | P3 |
Fix Version/s | 1.8DR#2 [ 10142 ] |
Assignee | Mark Collette [ mark.collette ] | Adnan Durrani [ adnan.durrani ] |
Summary | locale of messages bundle cannot be changed dynamically | Add new ice:loadBundle component (locale of messages bundle cannot be changed dynamically) |
Affects | [Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial] | |
Assignee Priority | P3 | P2 |
Status | Open [ 1 ] | In Progress [ 3 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17870 | Thu Nov 06 10:30:21 MST 2008 | adnan.durrani | Locale changes respected |
Files Changed | ||||
![]() |
Link | This issue depends on ICE-3755 [ ICE-3755 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17874 | Thu Nov 06 20:27:02 MST 2008 | adnan.durrani | TLD docs added |
Files Changed | ||||
![]() ![]() |
Attachment | ICE-2763.war [ 11346 ] |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17918 | Thu Nov 20 11:04:44 MST 2008 | adnan.durrani | Fix related to JSF 1.1 support added |
Files Changed | ||||
![]() |
Fix Version/s | 1.8 [ 10161 ] | |
Assignee Priority | P2 |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Adnan Durrani [ adnan.durrani ] |
Yes, I think it shows the need for an ice:loadBundle component, which will detect Locale changes, and uncache old ResourceBundles appropriately.