Button.onSubmit javadoc is misleading
-------------------------------------

                 Key: WICKET-2505
                 URL: https://issues.apache.org/jira/browse/WICKET-2505
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.4.1
            Reporter: Sampo Kettunen
            Priority: Trivial


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to