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

Button.onSubmit javadoc is misleading

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.4.1
    • 1.4.3, 1.5-M1
    • wicket
    • None

    Description

      The javadoc in org.apache.wicket.markup.html.form.Button.onSubmit() is misleading. It says "Override this method to provide special submit handling in a multi-button form. It is called whenever the user clicks this particular button." In reality, the method doesn't get called if the form's validation fails. Not sure if there are other cases as well when the method doesn't get called.

      Attachments

        Activity

          People

            jdonnerstag Juegen Donnerstag
            samket Sampo Kettunen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: