ICEfaces
  1. ICEfaces
  2. ICE-10261

ace:accordion, can't update active index programmatically

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Any
    • Assignee Priority:
      P1

      Description

      It's not possible to update the active index of an ace:accordion unless it's by direct interaction with the component or programmatically only at initialization time. So, it's not possible to update the active index through an external control or by applying some custom logic. The new showcase app shows this issue, where the search box doesn't cause the accordion to be opened where the selected demo is located.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42670 Wed Oct 01 11:42:47 MDT 2014 art.zambrano ICE-10261 various fixes to support all use cases
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/accordion/AccordionRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42659 Mon Sep 29 17:51:14 MDT 2014 art.zambrano ICE-10261 various fixes to support all use cases
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/accordion/accordion.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/accordion/AccordionRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42656 Mon Sep 29 14:50:28 MDT 2014 art.zambrano ICE-10261 fix to consult the active index from the internal state of the jQuery UI Accordion widget when determining whether to process setActiveIndex() or not
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/accordion/accordion.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42654 Mon Sep 29 12:29:44 MDT 2014 art.zambrano ICE-10261 fix to avoid processing setActiveIndex(), when the index is the same as the state holder, in order to avoid closing tabs in collapsible accordions; fix to convert an active index of '-1' to 'false' in the client side, since that's how the jQuery Accordion widget understands that all panels should be collapsed
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/accordion/accordion.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/accordion/AccordionRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42644 Fri Sep 26 14:37:01 MDT 2014 art.zambrano ICE-10261 added 'activeNoEvent' option to the Accordion widget to allow activating an accordion pane without triggering the 'changestart' event and without focusing on the pane header
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/jquery/ui/readme.txt
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42643 Fri Sep 26 14:33:55 MDT 2014 art.zambrano ICE-10261 added 'activeNoEvent' option to the Accordion widget to allow activating an accordion pane without triggering the 'changestart' event and without focusing on the pane header
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/accordion/accordion.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/jquery/ui/jquery-ui.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/accordion/AccordionRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42608 Tue Sep 23 10:48:55 MDT 2014 art.zambrano ICE-10261 fix to allow updating the active index programmatically
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/accordion/accordion.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/accordion/AccordionRenderer.java

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: