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

        Brad Kroeger created issue -
        Brad Kroeger made changes -
        Field Original Value New Value
        Assignee Ken Fyten [ ken.fyten ]
        Brad Kroeger made changes -
        Salesforce Case []
        Priority Major [ 3 ] Minor [ 4 ]
        Brad Kroeger made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.1-Beta [ 10291 ]
        Resolution Invalid [ 6 ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 3.0 [ 10241 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: