You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/02/23 11:46:44 UTC
[jira] [Commented] (WICKET-6324) AjaxFallbackButton#onError
parameter type should be Optional
[ https://issues.apache.org/jira/browse/WICKET-6324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15880302#comment-15880302 ]
ASF subversion and git services commented on WICKET-6324:
---------------------------------------------------------
Commit 1d8a9c780756130fad77135aa54717552bdd41c9 in wicket's branch refs/heads/master from [~svenmeier]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=1d8a9c7 ]
WICKET-6324 optional for all callbacks
> 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
> Assignee: Sven Meier
> 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)