The following comment has been added to this issue: Author: Inna Nill Created: Mon, 27 Sep 2004 9:21 AM Body: I was incorrect in stating the cause of the problem for this issue. It was not due to struts tags, but was due to using "headerClass" in the columns to be sorted. If you have 'headerClass="xxx"', those columns will not sort correctly. As soon as you remove "headerClass" the columns sort as needed. --------------------------------------------------------------------- View this comment: http://jira.codehaus.org/browse/DISPL-17?page=comments#action_24653
--------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/DISPL-17 Here is an overview of the issue: --------------------------------------------------------------------- Key: DISPL-17 Summary: Sorting doesn't work correctly when using struts <bean:write> Type: Bug Status: Unassigned Priority: Minor Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: DisplayTag Components: Tag Library Versions: 1.0 RC2 Assignee: Reporter: fabrizio giustina Created: Sat, 25 Sep 2004 5:05 AM Updated: Mon, 27 Sep 2004 9:21 AM Description: ==== imported from sf tracker id 1017130 submitted by innanill http://sourceforge.net/tracker/index.php?func=detail&group_id=73068&atid=536613&aid=1017130 ==== Using displaytags 1 rc1, and Resin 2.1.11 and struts. With the following, sorting does not work correctly: <display:table id="row" class="display-tags-Data" width="780" align="center" hspace=0 vspace=0 name="sessionScope.application.qualifiedLoanOptionsSort ed" defaultsort="2" defaultorder="ascending"> <display:column align="center" headerClass="DataHeader" class="edit-labels" property="orderNum" title="Option ID" sortable="true" /> <display:column align="center" headerClass="DataHeader" class="edit-labels-3" sortable="true" title="Product Name" > <bean:write name="row" property="productName"/> </display:column> <display:column align="right" headerClass="DataHeader" class="edit-labels" sortable="true" title="Loan Amount" > <bean:write name="row" property="loanAmount"/> </display:column> </display:table> The two columns that have <bean:write> will sort together. That is, if I click on the "Product Name" header to sort, both the "Product Name" and "Loan Amount" columns will appear sorted (arrow_up or down as needed, and bright orange color). Any ideas? Thanks! --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel