ICEfaces
  1. ICEfaces
  2. ICE-6415

ice:outputStyle _safari.css linked when does not exist

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2, 2.0-Beta2, 1.8.2-EE-GA_P02
    • Fix Version/s: 2.0.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Safari, IE

      Description

      ice:outputStle will render out a link tag to a CSS file, and will also detect the browser type, and whether it's a portlet environment, and then render out additional links to CSS files with _safari or _ie suffixes, depending on the scenario. The issue is that applications or themes don't always actually have those files to serve out, so browsers waste time requesting these non-existant resources, and can show errors in the javascript console. This happens in Chrome for example. It would be best to only link to the suffix CSS variants if the resources actually exist.

        Activity

        Hide
        yip.ng added a comment -

        Revision: 23828


        Modified : /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/style/OutputStyleRenderer.java

        Show
        yip.ng added a comment - Revision: 23828 Modified : /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/style/OutputStyleRenderer.java

          People

          • Assignee:
            yip.ng
            Reporter:
            Mark Collette
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: