[ http://jira.codehaus.org/browse/DISPL-209?page=comments#action_42255 ] 

Tom Tibbetts commented on DISPL-209:
------------------------------------

I found that the Row object contains the original index of the unsorted list in 
the form of rowNumber.  When it is passed to the table decorator via table 
decorator's init function, rowNumber gets reset to the sorted index.  I've done 
a search on clients to Row.getRowNumber and found no users, so I went ahead and 
removed the line that resets the rowNumber to the sorted index and that seems 
to work.

> getListIndex() does not return the real list index
> --------------------------------------------------
>
>          Key: DISPL-209
>          URL: http://jira.codehaus.org/browse/DISPL-209
>      Project: DisplayTag
>         Type: Bug
>   Components: Decorators, Paging/Sorting
>     Versions: 1.0
>     Reporter: Patrick Ehrensperger

>
>
> getListIndex() seems to return the same value as getViewIndex() after sorting 
> a list/table.
> According to my understanding of the api, getListIndex() should always return 
> the index of the object in the original unsorted list/table.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to