[richfaces-issues] [JBoss JIRA] Created: (RF-4990) The states of multiple SimpleTogglePanels in one page got sync all the time

Sean Moon (JIRA) jira-events at lists.jboss.org
Wed Nov 19 14:24:46 EST 2008


The states of multiple SimpleTogglePanels in one page got sync all the time
---------------------------------------------------------------------------

                 Key: RF-4990
                 URL: https://jira.jboss.org/jira/browse/RF-4990
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.2
            Reporter: Sean Moon


When a page contains more than one simpleTogglePanel(STP from now), it keeps collapsing all STP. 

<h:panelGroup id="topicsAndClientsDetails">
<a4j:repeat value="#{orderNewControl.orderItems}" var="item">
                    <rich:simpleTogglePanel headerClass="FormPanelTab" opened="#{item.opened}"
                        switchType="client">
.....

                     <a4j:commandLink action="#{orderNewControl.addDetailItem}" value="+Add Line"
                                    reRender="detailListPanel,topicsAndClientsDetails">
                                    <f:param name="detailItemClient" value="#{item.client.id}" />
                                    <f:param name="detailItemTopic" value="#{item.topic.id}" />
                     </a4j:commandLink>




When the tag property, "opened", gets changed for one STP, but it keeps collapsing all STPs when I reRendered parent panelGroup.

It used to be working fine when I tested on 3.2.1.
I guess there has been some code changes on this module.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list