Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      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

        Activity

        Hide
        Bob Schellink added a comment -

        Hi Christophe,

        Rather use the mailing list before logging bugs.

        Thanks.

        bob

        Show
        Bob Schellink added a comment - Hi Christophe, Rather use the mailing list before logging bugs. Thanks. bob

          People

          • Assignee:
            Malcolm Edgar
            Reporter:
            Christophe FOIRET
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development