You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Andrea Del Bene (JIRA)" <ji...@apache.org> on 2015/08/06 20:57:08 UTC

[jira] [Resolved] (WICKET-5907) Wicket autocomplete poput is not removed.

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

Andrea Del Bene resolved WICKET-5907.
-------------------------------------
    Resolution: Not A Problem

The culprit is in your MyAutoCompleteTextField. You change the markup id after the component is initialized:

{code}
setMarkupId("id_" + System.currentTimeMillis());
{code}

If you remove it everything is ok

> Wicket autocomplete poput is not removed.
> -----------------------------------------
>
>                 Key: WICKET-5907
>                 URL: https://issues.apache.org/jira/browse/WICKET-5907
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.19.0
>            Reporter: Artem Morozov
>            Assignee: Andrea Del Bene
>              Labels: autocomplete, autocompletetextfield
>         Attachments: autocompleteScenario.zip
>
>
> There is a situation when wicket-autocomplete popup is not removed after search is performed.
> See simple project attached.
> This case is a combination of RepeatingView + Wicket autocomplete.
> Please, consider to add an option, to hide this popup after a form is submitted.
> Ho to reproduce:
>  * open and run attached project
>  * type any string and press <Enter>
>  * type any string and press <Enter>
> Result - there are several popups displayed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)