Message:
The following issue has been resolved as FIXED.
Resolver: fabrizio giustina
Date: Fri, 22 Oct 2004 10:47 AM
works according to unit tests and the initial sample has some wrong code. Please let
me know if the problem persist wuth the fixed example and I'll reopen the bug.
---------------------------------------------------------------------
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: Resolved
Priority: Minor
Resolution: FIXED
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: DisplayTag
Components:
Container Compability
Fix Fors:
1.0 RC2
Versions:
1.0 RC1
Assignee: fabrizio giustina
Reporter: fabrizio giustina
Created: Sat, 25 Sep 2004 5:05 AM
Updated: Fri, 22 Oct 2004 10:47 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: 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