<%@ 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:convertDateTime component works. It works almost the same as f:convertDateTime, but it has as TimeZone default TimeZone.getDefault() instead GMT 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"%>