<?xml version='1.0' encoding='UTF-8' ?>
<!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:h="http://xmlns.jcp.org/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core">
<h:body>
<h:form>
<h:messages/>
Uzun Tamsayı :
<h:inputText value="#{conversionBean.longValue}">
<!--<f:convertNumber type="number" pattern="#000000"/>-->
<f:convertNumber type="number" minIntegerDigits="6" groupingUsed="true"/>
</h:inputText>
<br/> <br/>
Çifte Kayan Sayı :
<h:inputText value="#{conversionBean.doubleValue}">
<f:convertNumber type="number" pattern="#000000.00" locale="tr_TR" />
<!--<f:convertNumber type="number"
maxFractionDigits="2" minIntegerDigits="6" groupingUsed="false" /> -->
</h:inputText>
<br/> <br/>
Para Birimi :
<h:inputText value="#{conversionBean.doubleValue}">
<!--<f:convertNumber type="currency" />-->
<!--<f:convertNumber type="currency" currencySymbol="TL" />-->
<!-- <f:convertNumber type="currency" locale="kk_KZ"/>-->
</h:inputText>
<br/> <br/>
Yüzde :
<h:outputText value="#{conversionBean.doubleValue}">
<f:convertNumber type="percent"/>
</h:outputText>
<br/> <br/>
Tarih :
<h:inputText value="#{conversionBean.dateValue}">
<!--<f:convertDateTime type="date"/> -->
<!--<f:convertDateTime type="time"/>-->
<!--<f:convertDateTime type="both"/>-->
<f:convertDateTime pattern="dd/MM/yy"/>
<!--<f:convertDateTime pattern="dd/MMMM/yy hh:mm" locale="tr_TR"/>-->
</h:inputText>
<br/> <br/>
Eposta :
<h:inputText value="#{conversionBean.emailAddress}">
<f:converter converterId="emailConverter"/>
</h:inputText>
<br/> <br/>
<h:commandLink value="İşle" action="#{conversionBean.process()}"/> <br/>
</h:form>
</h:body>
</html>
Dosyayı İndir