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

          Jacky Lee created issue -
          Jacky Lee made changes -
          Field Original Value New Value
          Assignee Ken Fyten [ ken.fyten ]
          Ken Fyten made changes -
          Security Private [ 10001 ]
          Assignee Ken Fyten [ ken.fyten ] Mark Collette [ mark.collette ]
          Ken Fyten made changes -
          Assignee Priority P3
          Ken Fyten made changes -
          Link This issue depends on ICE-3500 [ ICE-3500 ]
          Ken Fyten made changes -
          Fix Version/s 1.8DR#2 [ 10142 ]
          Ken Fyten made changes -
          Assignee Mark Collette [ mark.collette ] Adnan Durrani [ adnan.durrani ]
          Ken Fyten made changes -
          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
          Adnan Durrani made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Adnan Durrani made changes -
          Link This issue depends on ICE-3755 [ ICE-3755 ]
          Adnan Durrani made changes -
          Attachment ICE-2763.war [ 11346 ]
          Adnan Durrani made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Link This issue blocks ICE-3790 [ ICE-3790 ]
          Ken Fyten made changes -
          Fix Version/s 1.8 [ 10161 ]
          Assignee Priority P2
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Adnan Durrani [ adnan.durrani ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: