RichFaces Suggestion Box component adds the autocomplete capability to the existing input component such as h:inputText or t:inputText. Use the attribute 'for', in order to pint to the necessary input component to add the autocomplete capabity to it.

Working with Suggestion Box is similar to the h:dataTable component, but instead of the 'value' attribute it has a suggestionAction attribute that points to the method that returns the filtered collection. The 'fetch' attribute points to the data that is inserted into the input field if a particular row is selected or clicked from the suggested list.

SuggestionBox example