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

Martin Tzvetanov Grigorov commented on WICKET-6854:
---------------------------------------------------

Which Behavior do you mean ? OnChangeAjaxBehavior ?

Its javadoc points to both #onUpdate() and #onError() which are available for 
all Ajax form component updating behaviors: 
[https://github.com/apache/wicket/blob/9939128c76ef2888a05d56926a5f3a215dccb750/wicket-core/src/main/java/org/apache/wicket/ajax/form/OnChangeAjaxBehavior.java#L44-L45]

 

Please follow Apache code of conduct! Using language like "puked on the carpet" 
has no place here.

 

If you need more help please join the mailing lists!

> OnChangeAjaxBehaviour is not called if the last character gets removed.
> -----------------------------------------------------------------------
>
>                 Key: WICKET-6854
>                 URL: https://issues.apache.org/jira/browse/WICKET-6854
>             Project: Wicket
>          Issue Type: Bug
>            Reporter: Stefan Franke
>            Assignee: Martin Tzvetanov Grigorov
>            Priority: Major
>         Attachments: bar.zip
>
>
> 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}
> entering and modifying text into the TextField is working.
> deleting mostly works too, but not for the last character. It does'nt matter 
> if you use [DEL] or [BS]



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

Reply via email to