Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1962

setters on FeedbackPanel do not return self, which prevents chaining

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3.5, 1.4-RC1
    • 1.4-RC2
    • wicket
    • None

    Description

      The setters on FeedbackPanel do not return "this".

      This makes chaining impossible, i.e.,

      add(new FeedbackPanel("id").setFilter(filter).setRenderBodyOnly(true));

      I think it would be more consistent with the rest of wicket, and useful, if the setters are changed to support chaining.

      Attachments

        Activity

          People

            jcompagner Johan Compagner
            sebster Sebastiaan van Erk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: