Fork me on GitHub
Attention: This component is still under progress and experimental.
b:autoComplete The autoComplete tag can only be used inside of a ButterFaces text component and renders a list of auto complete values which can be selected by item click.
Tag attributes
Tag controls
component
Try it with ButterFaces or test

                            <!DOCTYPE html> 
<html xmlns="http://www.w3.org/1999/xhtml" 
      xmlns:h="http://xmlns.jcp.org/jsf/html" 
      xmlns:f="http://xmlns.jcp.org/jsf/core" 
      xmlns:b="http://butterfaces.org/components"> 
<h:head /> 
<body>
    <h:form id="formId">

        <b:text id="input"
                label="label"
                value="null">
            <f:ajax event="keyup" execute="input" render="output"/>
            <b:autoComplete autoComplete="#{myBean}"
                            rendered="true"/>
        </b:text>

        <h:outputText id="output" value="null"/>

    </h:form> 
</body> 
</html>
                        
                            package org.butterfaces.autocomplete.demo;

import javax.faces.view.ViewScoped;
import javax.inject.Named;
import 
org.butterfaces.model.text.AutoCompleteModel;

@ViewScoped
@Named
public class MyBean implements Serializable, AutoCompleteModel {

    public List<String> autoComplete(Object value) {
        // TODO implement me...
    }

}