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

Duplicated method implementation setDefaultFormProcessing for AbstarctSubmitLink and Button.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5-M1
    • wicket
    • None

    Description

      My probllem here is that i have SubmitLinks and Buttons and i set setDefaultFormProcessing for certain conditions. I must first check whant instance is this, cast and set value. Its annoying.
      Please move it to one class or provide an interface for this. JavaDoc for AbstractLink has this problem annotated already: "TODO: This is a copy & paste from Button"

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mikel Michał Letyński
            Votes:
            4 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: