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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: