You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2014/12/31 10:19:13 UTC
[jira] [Closed] (WICKET-5798) Wicket not calling onError() on
IndicatingAjaxButton
[ https://issues.apache.org/jira/browse/WICKET-5798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sven Meier closed WICKET-5798.
------------------------------
Resolution: Invalid
Assignee: Sven Meier
This works as designed:
Either #onError() or #onSubmit() is called depending on whether any error occurred during form processing - if you report another error later on, this won't trigger #onError(), as form processing already finished successfully.
> Wicket not calling onError() on IndicatingAjaxButton
> ----------------------------------------------------
>
> Key: WICKET-5798
> URL: https://issues.apache.org/jira/browse/WICKET-5798
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 6.18.0
> Reporter: Phil Franken
> Assignee: Sven Meier
>
> My page structure:
> page/panel/feedback/form
> Wicket not calling onError() on IndicatingAjaxButton when error() called manually within IndicatingAjaxButton.onSubmit()
> Workaround is to call a private method that accepts AjaxRequestTarget each time error() is called
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)