[richfaces-issues] [JBoss JIRA] (RF-12532) Collapsible panel always collapsed when an accordion is inside

Brian Leathem (JIRA) jira-events at lists.jboss.org
Fri Oct 19 15:44:01 EDT 2012


    [ https://issues.jboss.org/browse/RF-12532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728126#comment-12728126 ] 

Brian Leathem commented on RF-12532:
------------------------------------

Restricting the visit to only TogglePanelItem/Repeat children was causing problems with nested TogglePanels.  So I re-instated the visit on non TogglePanelItem/Repeat children, and instead resolved this issue with a fix to the updateActiveName method of the CollapsiblePanel.
                
> Collapsible panel always collapsed when an accordion is inside
> --------------------------------------------------------------
>
>                 Key: RF-12532
>                 URL: https://issues.jboss.org/browse/RF-12532
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-output, regression
>    Affects Versions: 4.3.0.M2
>         Environment: RichFaces 4.3.0-SNAPSHOT
> Metamer 4.3.0-SNAPSHOT
> Mojarra 2.1.7
> JBoss AS 7.1.2.Final-redhat-1
> Java(TM) SE Runtime Environment 1.6.0_32-b05 @ Linux
> Chrome 22.0.1229.94 @ Linux x86_64
>            Reporter: Pavol Pitonak
>            Assignee: Brian Leathem
>            Priority: Critical
>             Fix For: 4.3.0.M2
>
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/richAccordion/simple.xhtml?templates=richCollapsiblePanel
> result:
> * collapsible containing accordion is collapsed but should be expanded
> * setting expanded=true has no effect
> * worked fine in 4.3.0.M1
> * can be reproduced with this code
> {code:xml}
> <h:form>
>   <rich:collapsiblePanel expanded="true" switchType="client">
>     <rich:accordion>
>       <rich:accordionItem id="item1" name="item1" header="Item 1">
>         content of item 1
>       </rich:accordionItem>
>       <rich:accordionItem id="item2" name="item2" header="Item 2">
>         content of item 2
>       </rich:accordionItem>
>     </rich:accordion>
>   </rich:collapsiblePanel>
> </h:form>
> {code}
> * the sample *doen't work at all* with switchType server or ajax

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list