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

        Christophe FOIRET created issue -
        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
        Bob Schellink made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Henri Yandell made changes -
        Project Import Fri Mar 20 14:11:32 PDT 2009 [ 1237583492744 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development