You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Stephen Cooper (JIRA)" <de...@myfaces.apache.org> on 2007/08/04 00:44:52 UTC
[jira] Created: (MYFACES-1696) varDetailToggler not functioning
properly when sorting table
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
Priority: Critical
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.
I'm using MyFaces this in a healthcare system, and this could lead to patient safety issues - e.g. comments entered for the wrong medication.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MYFACES-1696) varDetailToggler not functioning
properly when sorting table
Posted by "Stephen Cooper (JIRA)" <de...@myfaces.apache.org>.
[ 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.