ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-407

JavaScript error thrown when using an ice:panelConfirmation in two portlet pages with icefaces-ee-composite.jar

    Details

      Description

      Issue scenario, there are two portlet pages that use an ice:panelConfirmation. Both of these portlets are in different war files. When both portlets are added to a page and the commandButton that will show the confirmation is clicked a JavaScript error is thrown and the confirmation is not shown.

      This happens only when the icefaces-ee-composite.jsr is included in the war file. The pages for the test case does not use them, but in the case of the customer, they are using these components.

      The error that is thrown is "Object doesn't support property or method ;getOffsetParent'"

      1. IE9-Error.jpg
        40 kB

        Activity

        Hide
        Arran Mccullough added a comment -

        Attached sample portlet war files that can be deployed. Adding both samples to the page in IE9/9 Compat mode, or IE7 causes the error.

        Show
        Arran Mccullough added a comment - Attached sample portlet war files that can be deployed. Adding both samples to the page in IE9/9 Compat mode, or IE7 causes the error.
        Hide
        Philip Breau added a comment -

        Revision: 31552
        Author: philip.breau
        Date: June-12-12 8:19:57 PM
        Message:
        IPCK-407

        • avoid loading prototype.js library more than once
        • update prototype.js internal to ice.ee.compat.js

          Modified : /icefaces-ee3/trunk/icefaces-ee/ee-comps/ee-composite/resources/js/prototype/prototype.js
          Modified : /icefaces-ee3/trunk/icefaces-ee/ee-comps/ee-composite/src/com/icesoft/faces/facelets/component/ResourceLoadingComponent.java

        Revision: 31553
        Author: philip.breau
        Date: June-12-12 8:39:00 PM
        Message:
        IPCK-407

        • avoid loading prototype.js library more than once
        • update prototype.js internal to ice.ee.compat.js

          Modified : /icefaces-ee3/branches/icefaces-ee-3.0.0.GA-maintenance/icefaces-ee
          Modified : /icefaces-ee3/branches/icefaces-ee-3.0.0.GA-maintenance/icefaces-ee/ee-comps/ee-composite/resources/js/prototype/prototype.js
          Modified : /icefaces-ee3/branches/icefaces-ee-3.0.0.GA-maintenance/icefaces-ee/ee-comps/ee-composite/src/com/icesoft/faces/facelets/component/ResourceLoadingComponent.java

        Show
        Philip Breau added a comment - Revision: 31552 Author: philip.breau Date: June-12-12 8:19:57 PM Message: IPCK-407 avoid loading prototype.js library more than once update prototype.js internal to ice.ee.compat.js Modified : /icefaces-ee3/trunk/icefaces-ee/ee-comps/ee-composite/resources/js/prototype/prototype.js Modified : /icefaces-ee3/trunk/icefaces-ee/ee-comps/ee-composite/src/com/icesoft/faces/facelets/component/ResourceLoadingComponent.java Revision: 31553 Author: philip.breau Date: June-12-12 8:39:00 PM Message: IPCK-407 avoid loading prototype.js library more than once update prototype.js internal to ice.ee.compat.js Modified : /icefaces-ee3/branches/icefaces-ee-3.0.0.GA-maintenance/icefaces-ee Modified : /icefaces-ee3/branches/icefaces-ee-3.0.0.GA-maintenance/icefaces-ee/ee-comps/ee-composite/resources/js/prototype/prototype.js Modified : /icefaces-ee3/branches/icefaces-ee-3.0.0.GA-maintenance/icefaces-ee/ee-comps/ee-composite/src/com/icesoft/faces/facelets/component/ResourceLoadingComponent.java

          People

          • Assignee:
            Philip Breau
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: