<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<head>
<title>Person JSF</title>
</head>
<body>
<h:form>
Maaş :
<h:inputText value="#{personBean.salary}">
<f:convertNumber type="currency" currencySymbol="₺"></f:convertNumber>
</h:inputText>
<br/>
Doğum Tarihi :
<h:inputText value="#{personBean.dateOfBirth}">
<f:convertDateTime pattern="dd.MM.yyyy" locale="tr" ></f:convertDateTime>
</h:inputText>
<br/>
<h:commandButton action="#{personBean.submit}" value="Gönder"></h:commandButton>
</h:form>
</body>
</html>
Dosyayı İndir