ICEfaces
  1. ICEfaces
  2. ICE-6143

SettableLocaleViewRoot optimization

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8.2-EE-GA_P01
    • Fix Version/s: None
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces

      Description

      SettableLocaleViewRoot is implemented by inspecting the stack to accept the locale only from certain callers:

          public void setLocale(Locale locale) {
              //ignore locale set by RestoreViewPhase since it is using the first locale in the Accept-Language list,
              //instead it should calculate the locale
              StackTraceElement[] ste = (new RuntimeException()).getStackTrace();

      This approach is performance intensive and should be revised.

        Activity

        Ted Goddard created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 1.8.2-EE-GA_P02 [ 10226 ]
        Fix Version/s 1.8.3 [ 10211 ]
        Assignee Priority P3
        Deryk Sinotte made changes -
        Assignee Ted Goddard [ ted.goddard ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 1.8.2-EE-GA_P02 [ 10226 ]
        Fix Version/s 1.8.3 [ 10211 ]
        Assignee Priority P3
        Ken Fyten made changes -
        Assignee Ted Goddard [ ted.goddard ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: