Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3732244
By: kurtisaani
One way is to use a custom columndecorator and in that decorator handle link
formatting and different media types. For example:
(LinkObject is a class with two properties, text and url.)
if (column instanceof LinkObject) {
LinkObject link = (LinkObject) column;
if (media.equals(MediaTypeEnum.HTML)) {
return "<a href=\"" + link.getUrl() + "\">" + link.getText() + "</a>";
} else {
return link.getText();
}
}
if (column instanceof otherType......
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=249318
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user