ICEfaces
  1. ICEfaces
  2. ICE-3080

<html> lang attribute incorrect

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7.1
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      All

      Description

      In com.icesoft.faces.context.DOMResponseWriter.enhanceHtml(Element), we're using:
          Locale locale = context.getApplication().getViewHandler().calculateLocale(context);
      when we should instead be using:
          Locale locale = context.getViewRoot().getLocale();
      since that will respect any set Locale, and otherwise invoke ViewHandler.calculateLocale(FacesContext)

        Activity

        Hide
        Mark Collette added a comment -

        TRUNK
        Subversion 16654
        icefaces\core\src\com\icesoft\faces\context\DOMResponseWriter.java

        ICEfaces 1.7 branch
        Subversion 16655
        icefaces\core\src\com\icesoft\faces\context\DOMResponseWriter.java

        Show
        Mark Collette added a comment - TRUNK Subversion 16654 icefaces\core\src\com\icesoft\faces\context\DOMResponseWriter.java ICEfaces 1.7 branch Subversion 16655 icefaces\core\src\com\icesoft\faces\context\DOMResponseWriter.java

          People

          • Assignee:
            Unassigned
            Reporter:
            Mark Collette
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: