<!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> | |
<ui:remove> | |
just for the demo we are using two input components | |
</ui:remove> | |
<tr:inputText label="old nick name" readOnly="true" value="#{registrationPage.person.nickName}"/> | |
<tr:inputText label="nick name" value="#{registrationPage.newNickName}"/> | |
</tr:panelFormLayout> | |
<tr:commandButton text="save" action="#{registrationPage.updateNickName}"/> | |
</ui:define> | |
</ui:composition> | |
</body> | |
</html> |