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 point 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, which returns a 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.