Hello Everyone,
I came across display tag recently and we decided to use it for one of our pages and it has worked well so far. I am running into a small problem and would appreciate any help from all you guys.
I have implemented basic sorting, but my page needs multiple sort. So for eg, if I have Columns A, B, C and D. If the user clicks on colums A, I need to sort by Col A and then Col D. If the user clicks on Col B, I need to sort by Col B and then Col D. I hope you get the idea.
Now, from what I have seen, unless I am mistaken, Display tag can't do multiple sorts. Am I correct? So I decided to implement my own special comparator, However when I removed the sort attribute from the displaytag, the column headers are no more links.
What I need, to even implement my own comparator, is for the columns to be links, and couple of request params to be passed, when that header is clicked. I mean the column header only, I do not want column data to be links. For eg when someone clicks on col A header, I want to be able to pass some thing like http://userPage.jsp?columnHeader=A&sortOrder=asc
Please let me know if anyone has any ideas.
Thanks, Dilip
------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user

