Dzmitry, Last month I implemented some changes that would allow for sorting of the original value while displaying the decorator value. If I recall correctly, you could leave out the additional property that I added and comparison would then operate on the decorated value. I think.
Anyway, I haven't made the proper patches yet and submitted them and have been meaning to do this. The issue can be tracked on jira: http://jira.codehaus.org/browse/DISPL-58 - Jason --- Dzmitry Skaredau <[EMAIL PROTECTED]> wrote: > Hi there, > > It will be great to implement two kinds of sorting: > > 1. By decorator value > 2. By original value > > The reason: if I need to sort by currency and > original list has BigDecimal values 25000, 100000, 0 > after applying decorator it will be Strings $25,000, > $100,000, $0. > > And ascending order - $0.00, $100,000.00, $25,000.00 > that as you can see wrong. > > Thank you for your solution and let me know what you > think about this issue. > > Best Regards, > Dzmitry A Skaredau > Software Engineer > > EPAM Systems > Minsk office, Belarus (GMT+2) > > Office phone: +375 (17) 210-1662 > Office fax: +375 (17) 210-1168 > Mobile phone: +375 (29) 615-9963 > E-mail: [EMAIL PROTECTED] > > WWW: http://www.epam.com > > CONFIDENTIALITY CAUTION AND DISCLAIMER > This message is intended only for the use of the > individual(s) or entity(ies) to which it is > addressed and contains information that is legally > privileged and confidential. If you are not the > intended recipient, or the person responsible for > delivering the message to the intended recipient, > you are hereby notified that any dissemination, > distribution or copying of this communication is > strictly prohibited. All unintended recipients are > obliged to delete this message and destroy any > printed copies. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems > CACHE > FREE OODBMS DOWNLOAD - A multidimensional database > that combines > robust object and relational technologies, making it > a perfect match > for Java, C++,COM, XML, ODBC and JDBC. > www.intersystems.com/match8 > _______________________________________________ > displaytag-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/displaytag-user > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user

