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

>Category: main tag library
Group: after 1.0
>Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: Alistair McIntosh (n110132)
>Assigned to: fabrizio giustina (fgiust)
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: fabrizio giustina (fgiust)
Date: 2004-05-02 16:46

Message:
Logged In: YES 
user_id=798060

closing as obsolete. Initial bug report was related to the 0.8.x 
branch, the NPE in 1.0 was fixed a long time ago.


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

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: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to