<!DOCTYPE html PUBLIC | |
"-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" | |
xmlns:ui="http://java.sun.com/jsf/facelets"> | |
<body> | |
<ui:composition template="../layout/template.xhtml" | |
xmlns="http://www.w3.org/1999/xhtml" | |
xmlns:ui="http://java.sun.com/jsf/facelets" | |
xmlns:f="http://java.sun.com/jsf/core" | |
xmlns:h="http://java.sun.com/jsf/html" | |
xmlns:tr="http://myfaces.apache.org/trinidad" | |
xmlns:trh="http://myfaces.apache.org/trinidad/html"> | |
<ui:define name="content"> | |
<tr:panelFormLayout> | |
<tr:inputText label="nick name" value="#{registrationPage.person.nickName}"/> | |
<tr:inputText label="e-mail" value="#{registrationPage.email}"/> | |
<tr:inputText label="first name" value="#{registrationPage.person.firstName}"/> | |
<tr:inputText label="last name" value="#{registrationPage.person.lastName}"/> | |
<tr:inputDate label="birthday" value="#{registrationPage.person.birthday}"> | |
<tr:convertDateTime type="date" dateStyle="short"/> | |
</tr:inputDate> | |
<tr:inputDate label="final exam" value="#{registrationPage.person.finalExam}"> | |
<tr:convertDateTime type="date" dateStyle="short"/> | |
</tr:inputDate> | |
<tr:inputText label="number of siblings" value="#{registrationPage.numberOfSiblings}"/> | |
<tr:inputText label="password" value="#{registrationPage.password}" secret="true"/> | |
<tr:inputText label="re-enter password" value="#{registrationPage.passwordRepeated}" secret="true"/> | |
</tr:panelFormLayout> | |
<tr:commandButton text="save" action="#{registrationPage.finish}"/> | |
</ui:define> | |
</ui:composition> | |
</body> | |
</html> |