The following issue has been updated: Updater: Inna Nill (mailto:[EMAIL PROTECTED]) Date: Wed, 29 Sep 2004 4:00 PM Comment: Here is a table where sorting is affected: note that when you sort on "Name", then "Email" and "Status" are also highlighted as being sorted. When you sort on "Email", it highlights "Status" as being sorted as well. This is a slight variation on the displaytags sorting example (I put the code from header.jsp, footer.jsp, and init.jsp into this file), so I am not including a table that works here (since you have that). Also included is a changed_screen.css file which is just like the screen.css file that comes with displaytags, but with an additional header def.
Also, this happens with Resin 2.1.11. (It was changed to 2.1.1 in this bug definition -- I have not tested this with 2.1.1). Let me know if you need any more info/examples. Thank you. Changes: Attachment changed to displaytags_bug_files.zip --------------------------------------------------------------------- For a full history of the issue, see: http://jira.codehaus.org/browse/DISPL-17?page=history --------------------------------------------------------------------- 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 for columns with "headerClass" attribute Type: Bug Status: Unassigned Priority: Minor Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: DisplayTag Components: Container Compability Fix Fors: 1.0 RC2 Versions: 1.0 RC1 Assignee: Reporter: fabrizio giustina Created: Sat, 25 Sep 2004 5:05 AM Updated: Wed, 29 Sep 2004 4:00 PM 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel