incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Fan (JIRA)" <adffaces-iss...@incubator.apache.org>
Subject [jira] Commented: (ADFFACES-382) SortableModel.getRowKey() returns sortedIndex
Date Wed, 14 Feb 2007 18:38:05 GMT

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

John Fan commented on ADFFACES-382:
-----------------------------------

Also, the rowKey returned by getRowKey() should be an Integer. It's not necessary to convert
between String and int.

> SortableModel.getRowKey() returns sortedIndex
> ---------------------------------------------
>
>                 Key: ADFFACES-382
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-382
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>         Environment: ALL
>            Reporter: John Fan
>
> 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.


Mime
View raw message