Uploaded image for project: 'Hippo Site Toolkit 2'
  1. Hippo Site Toolkit 2
  2. HSTTWO-3815

[backport 11.0] hst:setBundle and hst:messagesReplace tags don't respect fmt:setLocale tag

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.3
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Processed by team:
      Platform
    • Sprint:
      Platform Sprint 140

      Description

      <hst:setBundle/> tag was introduced to support JSTL standard way to set bundle in the current localization context and to provide access to hippo repository resource bundle. The point was to respect JSTL standards.
      One shortcoming at the moment, the tag doesn't care what <fmt:setLocale/> set in prior with a different locale. The tag is using only HstRequest#getLocale() all the time.
      This is not really a big issue in most use cases, but for the complete support for the standards, it should use the locale set by fmt:setLocale tag if used for some corner use cases.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                oscholten Oscar Scholten (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: