<%@ page session="false" contentType="text/html;charset=utf-8"%> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib uri="http://myfaces.apache.org/commons/converters" prefix="mcc"%> <%@ taglib uri="http://myfaces.apache.org/commons/components" prefix="mc"%> <%@ taglib uri="http://myfaces.apache.org/commons/validators" prefix="mcv"%> <%@include file="inc/head.inc"%>


This example shows how mcc:convertNumber component works. It works almost the same as f:convertNumber, but it has "destType" attribute that define the target attribute to the backing bean property (useful when maps are used because ValueExpression.getType return null) and it evaluate EL expressions when the value is being validated instead when the converter is built.

Current Locale:

<%@include file="inc/page_footer.jsp"%>