<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
	<f:view xmlns="http://www.w3.org/1999/xhtml"
		xmlns:f="http://java.sun.com/jsf/core"
		xmlns:ui="http://java.sun.com/jsf/facelets"
		xmlns:h="http://java.sun.com/jsf/html"
		xmlns:p="http://java.sun.com/jsf/portlet/components">
		<p:portletPage>
			<h:form id="portlet_form">
				<h2>HELP mode portlet</h2>
				<h:panelGrid columns="2">
					<h:inputText value="#{helpbean.text}" id="repeaterText">
						<f:validateLength maximum="5" />
					</h:inputText>
					<h:outputText id="text" value="#{helpbean.text}" />
					
					<h:commandLink value="Increment counter" action="#{helpbean.click}" />
					<h:outputText id="counter" value="#{helpbean.counter}" />
					
					<h:outputText value="Portlet namespace:" />
					<h:outputText value="#{helpbean.namespace}" />
					<h:commandButton action="help2"
						value="Switch to second HELP page" />
				</h:panelGrid>
				<h:message for="repeaterText" />
			</h:form>
		</p:portletPage>
	</f:view>
</jsp:root>