The following comment has been added to this issue:

     Author: Gr?gory Joseph
    Created: Thu, 25 Nov 2004 1:28 PM
       Body:
I'm having troubles getting this to work?

In the files proposed in the "patch", I see a new constructor of RowSorter 
which takes the original non-decorated value (at least that's what i'm 
assuming), but this ctor doesn't seem to be in the sources of dt-1.0-rc2 !?

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/DISPL-58?page=comments#action_27157

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/DISPL-58

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DISPL-58
    Summary: Additional attribute for specifying property used for sorting.
       Type: Improvement

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: 5 minutes
 Time Spent: Unknown
  Remaining: 5 minutes

    Project: DisplayTag
 Components: 
             Paging/Sorting
   Fix Fors:
             1.0 RC2
   Versions:
             1.0 RC2

   Assignee: fabrizio giustina
   Reporter: Jason Lee

    Created: Thu, 14 Oct 2004 7:11 PM
    Updated: Thu, 25 Nov 2004 1:28 PM

Description:
As per my email to the list:

------------------------------------------------------
This is sorta a follow-up to my last post. I had a
issue where I was filling in a javascript link with my
column property value and when sorting on that column
header, the sort would not work correctly as it was
always using the tag value (incl the javascript href)
that i specified.

So in other words, I wanted to sort by my original
bean value and not my later decorated value.

After digging around in the source, I added a extra
property to the column tag that allows me to set the
original bean property name in addition to the table
decorator property. I Also made the additional changes
to the underlying dependency classes and now my sort
and decorator value can co-exist and work properly.
------------------------------------------------------

I have the fixes but I'm not sure how to upload them nor create patches.


---------------------------------------------------------------------
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



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to