ICEfaces
  1. ICEfaces
  2. ICE-7332

@import in css generating 404 Not Found

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Invalid
    • Affects Version/s: 2.1-Beta
    • Fix Version/s: 2.1-Beta, 3.0
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      Tomcat 7.0.12

      Description

      A css file with the following:

      @import url("printPreview.css") print;

      Is generating a javascript error in Firefox:

      NetworkError: 404 Not Found - http://localhost:8080/williamspoc/javax.faces.resource/printPreview.css"

      The printPreview.css file is included as follows:

              <h:outputStylesheet name="print.css" library="css" rendered="#{printPreviewBackingBean.printPreview}"/>
      <h:outputStylesheet name="printPreview.css" library="css" rendered="#{printPreviewBackingBean.printPreview}"/>

      The stylesheet is applied to the page, however, the javascript error shows up in the console. This can be reproduced in the poc.

        Activity

        There are no subversion log entries for this issue yet.

          People

          • Assignee:
            Ken Fyten
            Reporter:
            Brad Kroeger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: