ICEfaces
  1. ICEfaces
  2. ICE-2763

Add new ice:loadBundle component (locale of messages bundle cannot be changed dynamically)

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8DR#2, 1.8
    • 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

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #17918 Thu Nov 20 11:04:44 MST 2008 adnan.durrani Fix related to ICE-2763 (Add new ice:loadBundle component (locale of messages bundle cannot be changed dynamically))
          JSF 1.1 support added
          Files Changed
          Commit graph 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 ICE-2763 (Add new ice:loadBundle component (locale of messages bundle cannot be changed dynamically))
          TLD docs added
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_cust_properties/cust-loadbundle-props.xml
          Commit graph 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 ICE-2763 (Add new ice:loadBundle component (locale of messages bundle cannot be changed dynamically))
          Locale changes respected
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/loadbundle/LoadBundle.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #17868 Wed Nov 05 21:21:35 MST 2008 adnan.durrani ICE-2763 (Add new ice:loadBundle component (locale of messages bundle cannot be changed dynamically))
          Files Changed
          Commit graph ADD /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/loadbundle
          Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/utils/MessageUtils.java
          Commit graph ADD /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_cust_properties/cust-loadbundle-props.xml
          Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/extended-faces-config.xml
          Commit graph ADD /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/loadbundle/LoadBundle.java
          Commit graph ADD /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/custom/loadbundle-component.xml
          Commit graph MODIFY /icefaces/trunk/icefaces/component/conf/META-INF/faces-config.xml
          Commit graph ADD /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/custom/loadbundle-renderer.xml

            People

            • Assignee:
              Unassigned
              Reporter:
              Jacky Lee
            • Votes:
              14 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: