<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html" version="2.0"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	>
	<jsp:directive.page language="java"
		contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" />
	<jsp:text>
		<![CDATA[ <?xml version="1.0" encoding="UTF-8" ?> ]]>
	</jsp:text>
	<jsp:text>
		<![CDATA[ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ]]>
	</jsp:text>
	<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>Strona testowa dla przykładu podpowiadania.</title>
	</head>
	<body>
	<f:view>
		<h:form>
		<h:outputText id="counter" value="#{count.count}" />
		<h:commandButton value="count"  >
		
		</h:commandButton>
			
		 <rich:suggestionbox
              id="properySuggestBox"
              for="suggest"
              ajaxSingle="true"
              suggestionAction="#{capitalsBB.autocomplete}"
              var="result">
              <h:column>
                <h:outputText value="#{result.text}" />
              </h:column>
            </rich:suggestionbox>
		
			<h:inputText id="cityID">
			
			
			</h:inputText>

		</h:form>
	</f:view>
	</body>
	</html>
</jsp:root>