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

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Wed Apr 15 19:30:22 EDT 2009


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

Nick Belaevski resolved RF-6808.
--------------------------------

    Resolution: Rejected


Iteration component specific: you should bind "opened" attribute to model (e.g. bean property)

> 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