You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Timothy Daly (JIRA)" <ji...@apache.org> on 2010/07/12 17:14:50 UTC

[jira] Created: (PIVOT-572) Add ability to close all entries in accordion component

Add ability to close all entries in accordion component
-------------------------------------------------------

                 Key: PIVOT-572
                 URL: https://issues.apache.org/jira/browse/PIVOT-572
             Project: Pivot
          Issue Type: Improvement
          Components: wtk
    Affects Versions: 1.5, 1.5.1, 2.0, 2.1, 3.0
         Environment: I don't believe this to be platform dependent
            Reporter: Timothy Daly
            Priority: Minor
             Fix For: 1.5


Setting the selectedIndex will expand the specified section of the accordion component.  There may be reason to have the ability to specify that no section be opened (all closed).  Currently setting the selectedIndex to -1 does not throw an exception but it does however display a bizarre empty section.  As a suggestion you may want to allow -1 to instead be used to say 'no section should be open'.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIVOT-572) Add ability to close all entries in accordion component

Posted by "Timothy Daly (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Daly updated PIVOT-572:
-------------------------------

    Affects Version/s:     (was: 2.0)
                           (was: 1.5)
                           (was: 2.1)
                           (was: 3.0)
                           (was: 1.5.1)
        Fix Version/s: 2.0
                           (was: 1.5)

> Add ability to close all entries in accordion component
> -------------------------------------------------------
>
>                 Key: PIVOT-572
>                 URL: https://issues.apache.org/jira/browse/PIVOT-572
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>         Environment: I don't believe this to be platform dependent
>            Reporter: Timothy Daly
>            Priority: Minor
>             Fix For: 2.0
>
>
> Setting the selectedIndex will expand the specified section of the accordion component.  There may be reason to have the ability to specify that no section be opened (all closed).  Currently setting the selectedIndex to -1 does not throw an exception but it does however display a bizarre empty section.  As a suggestion you may want to allow -1 to instead be used to say 'no section should be open'.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIVOT-572) Add ability to close all entries in accordion component

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown updated PIVOT-572:
-----------------------------

    Fix Version/s: 2.1
                       (was: 2.0)

I just looked into this. I now remember that this was done by design. Unlike TabPane, Accordions are not currently designed to be collapsible (the primary use case for accordions is to always have one panel open, except when the accordion is empty).

It is possible to support this feature, but will involve updating the skin to animate the expand/collapse transition when going from no selection to a selected panel. Deferring to 2.1.



> Add ability to close all entries in accordion component
> -------------------------------------------------------
>
>                 Key: PIVOT-572
>                 URL: https://issues.apache.org/jira/browse/PIVOT-572
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>         Environment: I don't believe this to be platform dependent
>            Reporter: Timothy Daly
>            Priority: Minor
>             Fix For: 2.1
>
>
> Setting the selectedIndex will expand the specified section of the accordion component.  There may be reason to have the ability to specify that no section be opened (all closed).  Currently setting the selectedIndex to -1 does not throw an exception but it does however display a bizarre empty section.  As a suggestion you may want to allow -1 to instead be used to say 'no section should be open'.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.