<?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"
      >

	<h:form id="portlet_form">
	  <h2>EDIT mode portlet</h2>
	    <h:panelGrid columns="2">
	    <h:inputText value="#{bean.text}" id="repeaterText">
	      <f:validateLength maximum="5" />
	    </h:inputText>
 	      <h:outputText id="text" value="#{bean.text}"/>
	      <h:message for="repeaterText"/>
		<h:commandLink value="Increment counter" action="#{bean.click}" />
	    <h:outputText id="counter" value="#{bean.counter}"/>
	    <h:outputText  value="Portlet namespace:"/>
	    <h:outputText  value="#{bean.namespace}"/>
	    <h:commandButton action="repeater" value="Switch to repeater page" />		
		</h:panelGrid>
	</h:form>

</f:view>
</jsp:root>