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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
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 | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/loadbundle/LoadBundle.java
|
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 | ||||
MODIFY
/icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_cust_properties/cust-loadbundle-props.xml
MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/custom/loadbundle-renderer.xml |
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 | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/loadbundle/LoadBundle.java
|