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

Pavol Pitonak (JIRA) jira-events at lists.jboss.org
Thu Oct 11 07:29:03 EDT 2012


     [ https://issues.jboss.org/browse/RF-12532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavol Pitonak updated RF-12532:
-------------------------------

    Description: 
# 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

  was:
# 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">
    <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}


    
> 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
>
> # 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