You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org> on 2007/03/16 07:49:10 UTC

[jira] Updated: (ADFFACES-382) SortableModel.getRowKey() returns sortedIndex

     [ https://issues.apache.org/jira/browse/ADFFACES-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf updated ADFFACES-382:
----------------------------------------

        Fix Version/s: 1.0.1-incubating-core-SNAPSHOT
    Affects Version/s: 1.0.1-incubating-core-SNAPSHOT

> SortableModel.getRowKey() returns sortedIndex
> ---------------------------------------------
>
>                 Key: ADFFACES-382
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-382
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>    Affects Versions: 1.0.1-incubating-core-SNAPSHOT
>         Environment: ALL
>            Reporter: John Fan
>         Assigned To: Adam Winer
>             Fix For: 1.0.1-incubating-core-SNAPSHOT
>
>         Attachments: RowKeyFix.patch, RowKeyFixWithAutoBoxing.patch
>
>
> In SortableModel class, getRowKey() returns sorted index of the current row. For the same row object, different sorting can change its sorted index and hence change its rowKey.
> getRowKey() should return base index, because base index of a row object will not be changed by sorting. If we change getRowKey(), we need to change setRowKey() too.

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