Java Reference
In-Depth Information
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:p="http://primefaces.prime.com.tr/ui"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core">
<ui:composition template="./template.xhtml">
<ui:define name="top">
<h2>Customer Information Data Entry</h2>
</ui:define>
<ui:define name="content">
<h:form>
<p:messages/>
<h:panelGrid columns="1" style="width: 100%">
<p:tabView>
<p:tab title="Personal Information">
<h:panelGrid columns="2">
<h:outputLabel for="firstName"
value="First Name"
styleClass="requiredLbl"/>
<h:inputText id="firstName"
label="First Name"
value="#{customer.
firstName}"
required="true"/>
<h:outputLabel for="middleName"
value="Middle Name"
styleClass="optionalLbl"/>
<h:inputText id="middleName"
label="Middle Name"
value="#{customer.
middleName}"/>
<h:outputLabel for="lastName"
value="Last Name"
styleClass="requiredLbl"/>
<h:inputText id="lastName" label="Last
Name"
value="#{customer.
lastName}"
required="true"/>
<h:outputLabel for="birthDate"
value="Date of Birth"
styleClass="optionalLbl"/>
<p:calendar id="birthDate"
value="#{customer.
birthDate}"
showOn="button"
 
Search WWH ::




Custom Search