<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>
<html>
	<body>
	<f:view>
	<h:form>
	<h:inputText id="su"></h:inputText>
	<rich:suggestionbox width="200" height="200" for="su" suggestionAction="#{sb.autocomplete}" var="c">
		<h:column>
			<h:outputText value="#{c.text}"></h:outputText>
		</h:column>
	</rich:suggestionbox>
	</h:form>
	</f:view>
	</body>	
</html>  
