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

ASF subversion and git services commented on WICKET-6853:
---------------------------------------------------------

Commit 8b582257eef9eda1987e67df2fd06a1bb35d5334 in wicket's branch 
refs/heads/master from Martin Tzvetanov Grigorov
[ https://gitbox.apache.org/repos/asf?p=wicket.git;h=8b58225 ]

WICKET-6853 OnChangeAjaxBehaviour gets called if there was no change

Improve the javadoc of OnChangeAjaxBehaviour


> OnChangeAjaxBehaviour gets called if there was no change
> --------------------------------------------------------
>
>                 Key: WICKET-6853
>                 URL: https://issues.apache.org/jira/browse/WICKET-6853
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-core
>    Affects Versions: 8.10.0
>            Reporter: Stefan Franke
>            Assignee: Sven Meier
>            Priority: Minor
>
> Consider this code where a TextField gets a OnChangeAjaxBehaviour 
> {code:java}
> // 
> TextField<String> tf = new TextField<>("id", model);
> tf.add(new OnChangeAjaxBehaviour() {
>   public void onUpdate(AjaxRequestTarget target) {
>     LOG.debug("update");
>   }
> }
> form.add(tf){code}
> The onUpdate() method is also called on focus out. But focus out does no 
> updates.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to