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

        Judy Guglielmin created issue -
        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.
        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 2.0-Alpha1 [ 10213 ]
        Affects [Compatibility/Configuration]
        Assignee Priority P1
        Affects Version/s 2.0-Alpha1 [ 10213 ]
        Affects Version/s 2.0-Beta [ 10032 ]
        Security Private [ 10001 ]
        Assignee Mircea Toma [ mircea.toma ]
        Priority Major [ 3 ] Critical [ 2 ]
        Ken Fyten made changes -
        Fix Version/s 2.0-Alpha2 [ 10214 ]
        Fix Version/s 2.0-Alpha1 [ 10213 ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 2.0-Alpha1 [ 10213 ]
        Fix Version/s 2.0-Alpha2 [ 10214 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19583 Tue Nov 03 08:23:00 MST 2009 mircea.toma ICE-5086 Change back JS file extension to *.js.jsf.
        Files Changed
        Commit graph ADD /icefaces/scratchpads/glimmer/compat/core/src/main/resources/META-INF/resources/icesubmit.js
        Commit graph ADD /icefaces/scratchpads/glimmer/compat/core/src/main/resources/META-INF/resources/prototype.js
        Commit graph DEL /icefaces/scratchpads/glimmer/compat/core/src/main/resources/META-INF/resources/ice-extras.js.txt
        Commit graph ADD /icefaces/scratchpads/glimmer/compat/core/src/main/resources/META-INF/resources/ice-extras.js
        Commit graph DEL /icefaces/scratchpads/glimmer/compat/core/src/main/resources/META-INF/resources/icesubmit.js.txt
        Commit graph MODIFY /icefaces/scratchpads/glimmer/compat/core/src/main/java/com/icesoft/faces/application/ExtrasSetup.java
        Commit graph DEL /icefaces/scratchpads/glimmer/compat/core/src/main/resources/META-INF/resources/prototype.js.txt
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19584 Tue Nov 03 08:49:19 MST 2009 mircea.toma ICE-5086 Do not extract update structures from the XML data when invoking onBefore/AfterUpdate callbacks. This avoids accessing undefined elements.
        Files Changed
        Commit graph MODIFY /icefaces/scratchpads/glimmer/core/src/main/javascript/application.js
        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.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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).
        Ken Fyten made changes -
        Fix Version/s 2.0.0 [ 10230 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1

          People

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

            Dates

            • Created:
              Updated:
              Resolved: