Has this bug been fixed? I've just implemented the PaginatedList
interface on my list, and I'm using the sortName attribute on every
column, but I'm seeing the sort parameter set to the property I
reference in the displaytag:column tag; in fact, if I don't define a
property and set it inside ..:column/...:column tags, I get *no*
sort name (ie: I see sort= in my HTML). I'm also using
sort='external' on the table tag.
I'm using displaytag 1.1.1
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew
Goldfinch
Sent: Wednesday, April 19, 2006 9:29 PM
To: displaytag-user@lists.sourceforge.net
Subject: [displaytag-user] sortName not working for external lists
Hi all,
I was attempting to use the sortName parameter with an exteral list
but had no luck.
I found the bean property name was always being used. I had a quick
look at HtmlTableWriter.java line 458 and it indeed uses
getBeanPropertyName()
I changed the line to
String sortProperty = headerCell.getSortName();
and all seems to work fine.
It this a bug? Is this the correct solution?
Emiliano Armellin seems to have reported it also with no reply
http://sourceforge.net/mailarchive/message.php?msg_id=15268081
Regards,
Andrew Goldfinch
---
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=kkid0709bid3057dat1642
___
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now http://get.splunk.com/
___
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user