|
Hi
I just started using the displaytag for the
first time. I have a problem with the sorting. I have a business object list as
my datasource and one of the properties (getPrice()) of the business object
returns a double. A value could be 19.75. I have used the sortable=true for this
column but when I click the sort link it seems as if the displaytag comparess
the column values "as Strings" and that doesn't give the correct results. Is it
not possible to sort on other values than strings ? I was hoping that maybe
internally it would do something like
new Long(row1ColumnObject.getPrice()).compareTo(new
Long(row2ColumnObject.getPrice())) etc.
Thank you for any help.
Cheers
Tommy
|
- [displaytag-user] sorting Tommy Holm
- RE: [displaytag-user] sorting Kiran Banda
- [displaytag-user] Sorting Paul Pinkney
- Re: [displaytag-user] Sorting Matt Raible
- RE: [displaytag-user] Sorting Andy Pruitt
- [displaytag-user] Sorting Bradford, Jeff L
- Re: [displaytag-user] Sorting Rick Herrick

