[ 
https://issues.apache.org/jira/browse/MYFACES-1696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517937
 ] 

Stephen Cooper commented on MYFACES-1696:
-----------------------------------------

As it turns out, sorting tables which have input components appears to be a 
dangerous thing to do in MyFaces.  E.g. we have drop-down lists in our table, 
and if you enter data then sort (causing a form submission), the selections are 
applied to the wrong rows.

> varDetailToggler not functioning properly when sorting table
> ------------------------------------------------------------
>
>                 Key: MYFACES-1696
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1696
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 1.1.5
>            Reporter: Stephen Cooper
>
> Assume a table which has expandable details.  There are three rows: C, B and 
> A.
> If you expand the details for A, and then sort on the name, (so that the rows 
> are now A, B and C)
> then after sorting, it's the details for C which are expanded.
> This would be considered a minor bug except that if the expanded details 
> include user input controls (e.g. text input).  If the user expands the 
> details and enters data for A, then sort, the user entered data is now 
> applied to row C instead of A.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to