Bugs item #738052, was opened at 2003-05-15 06:42
Message generated for change (Comment added) made by frenout
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=738052&group_id=73068

Category: None
Group: v 0.8.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Alistair McIntosh (n110132)
Assigned to: Nobody/Anonymous (nobody)
Summary: Sorting decorated Date

Initial Comment:
This bug is so weird, I don't think anyones going to 
believe me, but here goes anyway...

I have a TableDecorator, which formats a Date property. 
The column for the property is a sort column.
The user has to click on the column heading twice for 
the table to be sorted.
If the user clicks on another sort column (a simple 
String property that works fine), then clicks on the 
formatted Date column twice, the table is sorted by the 
other column values, not the column clicked (twice) on.
I have a work around; using a ColumnDecorator for the 
Date column instead of a TableDecorator works, but I 
thought I'd let you guys know, because I'm stumped as 
to what's going on with that so not going to try and fix it 
myself.

Regards,
Alistair


----------------------------------------------------------------------

Comment By: Frederic Renout (frenout)
Date: 2003-10-24 15:09

Message:
Logged In: YES 
user_id=894019

With the 1.1-b1 I have a lot of problem when trying to sort
colums using TableDecorator.
After looking into the source I think that the RowSort
compare method don't init the decorator with the objects to
compare so we don't have any reference on the original
object inside our decorator and a nullpointerexception occur.

As workaround I've used RowDecorator.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2003-10-23 16:47

Message:
Logged In: NO 

What's so weird. This is how it behaves. Just get lost

----------------------------------------------------------------------

Comment By: Alistair McIntosh (n110132)
Date: 2003-05-15 13:15

Message:
Logged In: YES 
user_id=721032

I forgot to mention:
I tried this on version 0.8 (the version before this became a 
sf project) and it worked fine, so it's something introduced 
in 0.8.5.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=738052&group_id=73068


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to