ICEfaces
  1. ICEfaces
  2. ICE-5867

OutputStyle doesn't work in Websphere

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8.2, 1.8.2-EE-GA_P01
    • Fix Version/s: None
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      not important

      Description

      The implementation of getting "user-agent" in OutputStyleRenderer.class is not correct.
      In Websphere there is no header calling "user-agent" but "User-Agent".
      It should be following implementation in method browserType(FacesContext facesContext, UIComponent uiComponent) of OutputStyleRenderer.class:

                      HttpServletRequest request = (HttpServletRequest)o;
                      useragent = request.getHeader("user-agent");
                      if(useragent == null) {
                           useragent = request.getHeader("User-Agent");
                      }

        Issue Links

          Activity

          Hide
          Yogesh Manware added a comment -

          As ICE-6381 is already resolved, This issue must be marked as fixed (duplicate of ICE-6381 or fixed indirectly)

          Show
          Yogesh Manware added a comment - As ICE-6381 is already resolved, This issue must be marked as fixed (duplicate of ICE-6381 or fixed indirectly)

            People

            • Assignee:
              Unassigned
              Reporter:
              Mihail Pekarskij
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: