Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-74

JspTilesViewHandlerImpl does not load localized tiles definitions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Tiles
    • None
    • Sun SDK 1.5, Tomcat, Linux

    Description

      The tiles definitions that are loaded by JspTilesViewHandlerImpl are not the localized definitions corresponding with
      facesContext.getViewRoot().getLocale()
      e.g. if the mentioned method returns de_CH, the tiles definition tiles_de_CH.xml should be considered

      Workaround: Setting the struts locale solves the problem
      facesContext.getExternalContext().getSessionMap().put(Globals.LOCALE_KEY, new Locale("de","CH");

      Attachments

        Activity

          People

            Unassigned Unassigned
            drseb Beat Seeliger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: