ICEfaces
  1. ICEfaces
  2. ICE-5086

ICEfaces2 problem with reading javascript files in IE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha1
    • Fix Version/s: 2.0-Alpha1, 2.0.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      jsf2.0, ICEfaces2
    • Affects:
      Compatibility/Configuration

      Description

      renaming of javascript files to js.txt.jsf extension is a problem for IE (I tested with IE7).
      Get errors on browser such as :-
      > Webpage error details
      >
      > User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MSN Optimized;US)
      > Timestamp: Mon, 2 Nov 2009 18:40:54 UTC
      >
      >
      > Message: Object doesn't support this property or method
      > Line: 11702
      > Char: 1
      > Code: 0
      > URI: http://localhost:8080/component-showcase/javax.faces.resource/ice-extras.js.txt.jsf
      >
      >
      >
      > Message: Object doesn't support this property or method
      > Line: 24
      > Char: 5
      > Code: 0
      > URI: http://localhost:8080/component-showcase/javax.faces.resource/icesubmit.js.txt.jsf
      >

        Activity

        Hide
        Ken Fyten added a comment -

        Need this looked at ASAP. We will need to issue a patched 2.0 Alpha 1 bundle with this corrected.

        Show
        Ken Fyten added a comment - Need this looked at ASAP. We will need to issue a patched 2.0 Alpha 1 bundle with this corrected.
        Hide
        Mircea Toma added a comment -

        Change back JS file extension to *.js. This seems to solve the issue. JSF 2.0FCS does not EL evaluate JS resources anymore so it's safe to use *.js extensions for resources.

        Show
        Mircea Toma added a comment - Change back JS file extension to *.js. This seems to solve the issue. JSF 2.0FCS does not EL evaluate JS resources anymore so it's safe to use *.js extensions for resources.
        Hide
        Mircea Toma added a comment -

        Do not extract update structures from the XML data when invoking onBefore/AfterUpdate callbacks. This avoids accessing undefined elements.

        Show
        Mircea Toma added a comment - Do not extract update structures from the XML data when invoking onBefore/AfterUpdate callbacks. This avoids accessing undefined elements.
        Hide
        Judy Guglielmin added a comment -

        Object expected
        ice-extras.js.jsf              Line:7808
        Code: 0                             Char: 13
        URI: http://localhost:8080/component-showcase/javax.faces.resource/ice-extras.js.jsf

        this error occurs with IE for panelPopup as well as resizable Columns ...not always there...trying to see if I can make the error consistent.

        Show
        Judy Guglielmin added a comment - Object expected ice-extras.js.jsf              Line:7808 Code: 0                             Char: 13 URI: http://localhost:8080/component-showcase/javax.faces.resource/ice-extras.js.jsf this error occurs with IE for panelPopup as well as resizable Columns ...not always there...trying to see if I can make the error consistent.
        Hide
        Judy Guglielmin added a comment -

        Looks like this might be component-related as it seems to only be with panelPopup and resizable Columns (not all the time).

        Show
        Judy Guglielmin added a comment - Looks like this might be component-related as it seems to only be with panelPopup and resizable Columns (not all the time).

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: