Andrew Geery created WICKET-6324:
------------------------------------
Summary: AjaxFallbackButton#onError parameter type should be
Optional<AjaxRequestTarget>
Key: WICKET-6324
URL: https://issues.apache.org/jira/browse/WICKET-6324
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 8.0.0-M3
Reporter: Andrew Geery
Priority: Minor
The parameter for AjaxFallbackButton#onSubmit is Optional<AjaxRequestTarget>
because the AjaxRequestTarget can be null. However, the parameter for
AjaxFallbackButton#onError is AjaxRequestTarget. The AjaxRequestTarget can be
null so the parameter to #onError should follow #onSubmit and also be Optional.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)