Myfaces Commons Converter Tag Library 1.2.


Standard Syntax:
     <%@ taglib prefix="mcc" uri="http://myfaces.apache.org/commons/converters" %>

XML Syntax:
     <anyxmlelement xmlns:mcc="http://myfaces.apache.org/commons/converters" />

MyFaces subproject that contains converters to be used with any JSF implementation.

Tag Library Information
Display NameMyfaces Commons Converter Tag Library 1.2.
Version1.1.7
Short Namemcc
URIhttp://myfaces.apache.org/commons/converters
 

Tag Summary
convertNumberConverter which uses either the manually set destType or the value binding to determine the correct destination type to convert the number to This tag creates a number formatting converter and associates it with the nearest parent UIComponent. It uses either the manually set destType or the value binding to determine the correct destination type to convert the number to. Unless otherwise specified, all attributes accept static values or EL expressions.
convertBooleanConverter that translates between boolean values (true/false) and alternate versions of those boolean values like (yes/no), (1/0), and (way/no way).

To customize the representation of a boolean true and false, use {@link #setTrueValue(String)} and {@link #setFalseValue(String)} respectively. If not configured with these setter methods, it defaults to true and false.

The values are case sensitive.

convertDateTimeSimple convert that overrides the spec DateTimeConverter and uses TimeZone.getDefault() as the base timezone, rather than GMT. Convert date time using normal system timezone like it should User: treeder Date: Oct 28, 2005 Time: 7:19:01 PM
convertEnumConverts a Java 5 Enum. see Javadoc of JSF Specification
 


Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-3 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.