ICEfaces
  1. ICEfaces
  2. ICE-7681

ace:accordion with panechange event used with ace:ajax - not receiving events if dynamic attribute is enabled

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.2
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces3.0.0. bundle1 (revision 27312)
      Browsers: all
      Server: Tomcat6
    • Affects:
      Compatibility/Configuration

      Description

      The ace:accordion when used with the 'panechange' event of the ace:ajax component - does not register events in the same way as it does when used with the paneChangeListener attribute enabled. This happens in all browsers when either the dynamic or the collapsible attributes of the ace:accordion is set to true.

      If dynamic=true, when accordion changes panes, the ajax paneChange event is not received. This is different for an accordion with a paneChangeListener, that will always receive a pane change event, also when dynamic=true.

      If collapsible=true, when collapsing the accordion's open pane followed by its re-opening, an accordion with an ace:ajax component using its paneChange event will receive 2 events, while an accordion with a paneChangeListener will register only one event.

      This can be reproduced with the accordion test application located at:
      http://server.ice:8888/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Nightly/accordion
      - load the attribute page: http://localhost:8080/accordion/accordionAttribute.jsf
      - change accordion panes and notice the AjaxBehaviorEvent messages with dynamic attribute unchecked, then with dynamic attribute enabled.
      - enable collapsible=true and notice the AjaxBehaviorEvent messages.

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #31214 Fri Sep 28 17:58:29 MDT 2012 art.zambrano ICE-7681 fixed problem in MyFaces with no longer updating the active pane after having collapsed all panes
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/accordion/accordion.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #30958 Thu Sep 20 15:50:02 MDT 2012 art.zambrano ICE-7681 corrected access to boolean flag
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/accordion/accordion.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #30947 Thu Sep 20 11:42:25 MDT 2012 art.zambrano ICE-7681 ace:accordion, fix for executing the paneChangeListener and ajax paneChange event in one request; modified behaviour so that only opening new panes triggers the paneChangeListener and ajax listener and not when closing them; deprecated 'dynamic' and 'cache' attributes; now, every tab change produces a request, and the contents of the panes will be dynamically updated if they differ from the previous content
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/accordion/AccordionMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/accordion/accordion.js
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/accordion/AccordionRenderer.java

            People

            • Assignee:
              Arturo Zambrano
              Reporter:
              Carmen Cristurean
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: