You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Xavier López (Updated JIRA)" <ji...@apache.org> on 2011/11/08 10:56:51 UTC

[jira] [Updated] (WICKET-4204) AutoCompleteTextField+OnChangeAjaxBehavior doesn't fire updates on item selection

     [ https://issues.apache.org/jira/browse/WICKET-4204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xavier López updated WICKET-4204:
---------------------------------

    Summary: AutoCompleteTextField+OnChangeAjaxBehavior doesn't fire updates on item selection  (was: AutoComplete+OnChangeAjaxBehavior doesn't fire updates on item selection)
    
> AutoCompleteTextField+OnChangeAjaxBehavior doesn't fire updates on item selection
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-4204
>                 URL: https://issues.apache.org/jira/browse/WICKET-4204
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.5.2
>            Reporter: Xavier López
>
> When adding an OnChangeAjaxBehavior to an AutoCompleteTextField, onUpdate() doesn't fire when selecting an item from the autocomplete item list. 
> It is firing when using an AjaxFormComponentUpdatingBehavior. 
> wicket-autocomplete.js seems to be using the onchange event handler, which is cleared by Wicket.ChangeHandler. 
> Maybe obj.onchangeoriginal should be checked in first place in wicket-autocomplete.js
> See this related discussion at SO for context: http://stackoverflow.com/q/8047769/851811

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira