Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-3816

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Low
    • Resolution: Fixed
    • None
    • 3.2.3
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: