Bug 31353

Summary: Datagrid: Hyperlinks not re-ordered when values re-ordered
Product: Taglibs Reporter: Bruce Yu <bwyu>
Component: Sandbox TaglibsAssignee: Tomcat Developers Mailing List <dev>
Status: CLOSED FIXED    
Severity: normal    
Priority: P3    
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: All   
Attachments: Patch for bug 31353
New Patch
New Source File

Description Bruce Yu 2004-09-22 00:06:52 UTC
When the datagrid is sorted by one of the columns and redisplayed, the column 
values are sorted correctly, but hyperlinks remain in the same order as first 
displayed.

To repro use example6.jsp --

1. load example6.jsp of examples war into browser
2. Note current order is (Peter Jackson, John Woo, George Lucas, Michael Kain) 
and the links go to the correct page in the IMDB.com site
3. Reorder page by clicking the Name header. 
4. Order is now (Charlize Theron, Edward Norton, Gary Oldman, George Lucas); 
however, hyperlinks still go to pages in order (Peter Jackson, John Woo, George 
Lucas, Michael Kain)
Comment 1 Nestor Boscan 2004-09-23 19:03:33 UTC
Created attachment 12850 [details]
Patch for bug 31353
Comment 2 Felipe Leme 2004-09-24 00:18:17 UTC
Nestor,

The patch didn't get through, I thing you did something wrong.

Please try the following in your machine:

- go to the sandbox/datagrid directory
- run:

 cvs diff -u > patch.31353

- then add patch.31353 as attachment here

-- Felipe

PS: notice that if you added a new file, it won't be in the patch
Comment 3 Nestor Boscan 2004-09-24 05:47:00 UTC
Created attachment 12853 [details]
New Patch
Comment 4 Nestor Boscan 2004-09-24 05:47:24 UTC
Created attachment 12854 [details]
New Source File
Comment 5 Nestor Boscan 2004-09-24 05:48:00 UTC
Uploaded new patch and a new source file.
Comment 6 Felipe Leme 2004-09-26 00:07:15 UTC
Applied Nestor patch, so I'm marking it as fixed.
Comment 7 Bruce Yu 2004-09-27 18:16:41 UTC
Thanks for the quick fix!