ICEfaces
  1. ICEfaces
  2. ICE-6381

App server issues with OutputStyleRenderer detecting the Browser User-Agent

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1, 1.8.2, 1.8.2-EE-GA, 1.8.2-EE-GA_P01, 1.8.2-EE-GA_P02
    • Fix Version/s: 2.0.0, EE-1.8.2.GA_P03
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Weblogic, Websphere, OC4J

      Description

      When deploying in Weblogic, Websphere, or OC4j, the functionality to change CSS files depending on the browser does not work. In the OutputStyleRenderer class the following code is called to detect the browser user agent:

      "request.getHeader("user-agent");"

      In the app server mentioned above there results in a null being returned.

      In Weblogic/Websphere the following code needs to be called:

      "request.getHeader("User-Agent");"

      In OC4J the following needs to be called:

      "request.getHeader("USER-AGENT");"

        Issue Links

          Activity

          Hide
          Arran Mccullough added a comment -

          Fixes checked in:

          • 1.8.x trunk rev 23539
          • 2.0 trunk compat rev 23540
          Show
          Arran Mccullough added a comment - Fixes checked in: 1.8.x trunk rev 23539 2.0 trunk compat rev 23540

            People

            • Assignee:
              Arran Mccullough
              Reporter:
              Arran Mccullough
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: