Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.4
-
None
-
None
-
None
-
WAMP
Description
Hi,
I'd like to use the render method on LinkDecorator. I wish to display different types of links depending on the state of the element in the row table.
In Click examples, there is an example with the Decorator render which returns string, but for the LinkDecorator, there is no example.
I tried to put this code :
actionColumn.setDecorator(new LinkDecorator(table, linksAdm, "id") {
public ActionLink[] renderActionLinks(Object row, Context context) {
But the IDE tells :
-the return type is incompatible with LinkDecorator.renderActionLinks
-overrides net.sf.click.extraControls.LinkDecorator.renderActionLinks
Could you help me please ?
Thanks