ICEfaces
  1. ICEfaces
  2. ICE-10508

ace:animation - JavaScript error thrown when chaining animations

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P02
    • Fix Version/s: EE-3.3.0.GA_P04
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      IE8
    • Assignee Priority:
      P3
    • Support Case References:
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      Swap the order of the animation tags:

                                      <ace:animation event="click"
                                                     name="highlight"/>
                                      <ace:animation event="click"
                                                     name="fade"/>
      Show
      Swap the order of the animation tags:                                 <ace:animation event="click"                                                name="highlight"/>                                 <ace:animation event="click"                                                name="fade"/>

      Description

      An h:commandLink uses two ace:animation tags to chain two animations. This commandLink is used to close an ace:dialog. When the link is clicked in IE8, a JavaScript error is thrown:

      Unable to get value of the property '0': object is null or undefined

      This is from the bundled JQuery JavaScript.

      Sample code:
                                  <h:commandLink id="closeEffect"
                                                 value="close with effect">
                                      <f:ajax execute="@this"
                                              render="popDetails"
                                              event="click"
                                              listener="#{TestBean.setDialogVisible(false)}"/>
                                      <ace:animation event="click"
                                                     name="fade"/>
                                      <ace:animation event="click"
                                                     name="highlight"/>
                                  </h:commandLink>

        Issue Links

          Activity

            People

            • Assignee:
              Arturo Zambrano
              Reporter:
              Arran Mccullough
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: