You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2014/07/22 18:12:38 UTC

[jira] [Commented] (WICKET-5652) Improve Javadoc of OnChangeAjaxBehavior/AjaxFormComponentUpdatingBehavior concerning onError(...)

    [ https://issues.apache.org/jira/browse/WICKET-5652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070440#comment-14070440 ] 

Martin Grigorov commented on WICKET-5652:
-----------------------------------------

Patches are welcome!

> Improve Javadoc of OnChangeAjaxBehavior/AjaxFormComponentUpdatingBehavior concerning onError(...)
> -------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-5652
>                 URL: https://issues.apache.org/jira/browse/WICKET-5652
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>            Reporter: Patrick Davids
>            Priority: Trivial
>
> Hi all,
> I struggled around with validation errors on AjaxChangeBehaviors.
> I wasnt able to get my validation error printed out unless I override onError(AjaxRequestTarget) of my Behavior instance to add my feedback panel manually to the AjaxRequestTarget.
> After overriding it, it was very logical to me.
> But I found the onError(...) quite accidentally.
> A short hint or note in javadoc of OnChangeAjaxBehavior or AjaxFormComponentUpdatingBehavior, that is recommended to override onError(...) as well, would be great for other developers, especially to new ones, I think. ;-)
> kind regards
> Patrick



--
This message was sent by Atlassian JIRA
(v6.2#6252)