<?xml version="1.0" encoding="UTF-8"?> <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" template="/WEB-INF/template/default.xhtml"> <ui:define name="title">Hello World</ui:define> <ui:define name="content"> <h:form> <h2>Please enter your name: <h:inputText id="name" value="#{helloBean.name}" required="true"/></h2> <h:commandButton value="press me" action="#{helloAction.send}"/> <h:message for="name"/> </h:form> </ui:define> </ui:composition>