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

Juergen Donnerstag resolved WICKET-3066.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-RC6

This was fixed in 1.5 already with the introduction of *AutoCompleteBehavior 
and renderFooter. I slightly enhance renderFooter to provide the number of 
rendered choices. Now you can add a footer more easily if no choice was 
rendered.

> Make showing of empty list in AutoComplete configurable
> -------------------------------------------------------
>
>                 Key: WICKET-3066
>                 URL: https://issues.apache.org/jira/browse/WICKET-3066
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-extensions
>    Affects Versions: 1.4.10
>            Reporter: Frank Klein Koerkamp
>            Assignee: Juergen Donnerstag
>             Fix For: 1.5-RC6
>
>
> When no results are coming from backend the Autocomplete is not showing it's 
> choices. Code:
> if(elementCount>0){
>             if(cfg.preselect==true){
>                 setSelected(0);
>             }            
>             showAutoComplete();
>         } else {
>             hideAutoComplete();
>         }
> But i am having some subfix on the list and now i want to show 'No results 
> found'. But this is not possible because it's not showing the list when no 
> results are there.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to