I think that it should return the found submitter. If the caller cares whether the submitter is visible/enabled then it can do its own check for this. I'll raise the question in the dev@ mailing list. If no one objects then I'll modify it.
Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, Aug 7, 2014 at 3:24 PM, Jack Berg <erki.pub...@gmail.com> wrote: > Wouldn't it return null, if the form was not submitted by a > IFormSubmittingComponent? > > I have attached a quickstart to show my current situation. The exception is > always thrown after submitting. > testfindsubmit.zip > < > http://apache-wicket.1842946.n4.nabble.com/file/n4666926/testfindsubmit.zip > > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Form-findSubmittingButton-throws-exceptions-tp4666910p4666926.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >