[richfaces-issues] [JBoss JIRA] Commented: (RF-5422) extendedDataTable: filtering doesn't reset selection.

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


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

Pawel Golawski commented on RF-5422:
------------------------------------

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.
We don't think filtering should reset selection.

> extendedDataTable: filtering doesn't reset selection.
> -----------------------------------------------------
>
>                 Key: RF-5422
>                 URL: https://jira.jboss.org/jira/browse/RF-5422
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>         Environment: IE6, IE7, FF 3.1.3, Safari 3.1, Opera 9.62(3.3.0.BETA4)
>            Reporter: Mikhail Vitenkov
>            Assignee: Piotr Kawiak
>
> #1. Navigate to ExtendedDataTable richfaces-demo page.
> #2. Type "k" in "State Name" filter input.
> #3. Select "Kansas".
> #4. Remove "k" and verify selected item.
> #5. Type "k" in "State Name" filter input again.
> #6. Select "Kentucky".
> #7. Remove "k" and verify selected item.
> Actual behavior:
> #4. "Alabama" selected.
> #5. "Alaska" selected. So after filtering selected item index remained.

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