[
https://issues.apache.org/jira/browse/WICKET-5652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14084713#comment-14084713
]
ASF subversion and git services commented on WICKET-5652:
---------------------------------------------------------
Commit dc859a546ba68a47bb7be2a3e05dc411b394fd99 in wicket's branch
refs/heads/master from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=dc859a5 ]
WICKET-5652 Improve Javadoc of Ajax behaviors concerning their onXyz() methods
(cherry picked from commit 56f8c4ca0d0dd52b9d61d48aa1ec699b129d103c)
> Improve Javadoc of Ajax behaviors concerning their onXyz() methods
> ------------------------------------------------------------------
>
> Key: WICKET-5652
> URL: https://issues.apache.org/jira/browse/WICKET-5652
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Reporter: Patrick Davids
> Assignee: Martin Grigorov
> Priority: Trivial
> Fix For: 7.0.0-M3, 6.17.0
>
>
> 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)