[richfaces-issues] [JBoss JIRA] Commented: (RF-5186) In the ExtendedDataTable, when you order by a column, modifing the original order, the selection doesn´t work correctly

Pawel Golawski (JIRA) jira-events at lists.jboss.org
Tue Dec 23 05:09:54 EST 2008


    [ https://jira.jboss.org/jira/browse/RF-5186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12443975#action_12443975 ] 

Pawel Golawski commented on RF-5186:
------------------------------------

If table value is a simple list, it is wrapped by SequenceDataModel or something like this and data key is simply row index.
To avoid this situation org.richfaces.model.ExtendedTableDataModel and org.richfaces.mode.DataProvider should be used.
You can see the usage in extendedDataTable-sample project.

> In the ExtendedDataTable, when you order by a column, modifing the original order, the selection doesn´t work correctly
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-5186
>                 URL: https://jira.jboss.org/jira/browse/RF-5186
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.2
>         Environment: Eclipse 3.4.0, jboss-4.2.2.GA, jboss-seam-2.0.2.SP1, IE7
>            Reporter: Laura Romero Brox
>            Assignee: Pawel Golawski
>
> In the ExtendedDataTable, when you order by a column, modifing the original order, the selection doesn´t work correctly. The list in the page is different than in server. The component returns an index that isn´t good in server list.

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