[richfaces-issues] [JBoss JIRA] Created: (RF-6808) simpleTogglePanel inside a dataTable

Stephane Regent (JIRA) jira-events at lists.jboss.org
Wed Apr 15 13:26:22 EDT 2009


simpleTogglePanel inside a dataTable 
-------------------------------------

                 Key: RF-6808
                 URL: https://jira.jboss.org/jira/browse/RF-6808
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.3.0
         Environment: IE & FF
            Reporter: Stephane Regent


I'm using a simpleTogglePanel (stp) inside a dataTable.
The content of the stp is determined on the server side.
SwitchType of the stp is "ajax".

Every stp in the dataTable have the same state (open or close) :
When I clic on one stp to open it, it opens every stp of the table. I have the same behaviour when trying to close one.

<rich:dataTable value="#{domain.tasks}" var="task" rowKeyVar="row">
    <rich:column>
        <f:facet name="header">
            <h:outputText value="#{msg.description}" />
        </f:facet>
       <rich:simpleTogglePanel switchType="ajax" label="#{task.description}" opened="false">
        </rich:simpleTogglePanel>
    </rich:column>
</rich:dataTable>

When switchMode is "client", the gui behaviour is correct.

I don't know if it is useful but my dataTable is inside a panelBar / panelBarItem, inside a form.


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