Tomahawk sandbox tag library.
Tag convertNumber


Converter 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.


Tag Information
Tag Classorg.apache.myfaces.custom.convertNumber.TypedNumberConverterTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
destTypefalsefalsejava.lang.StringThe java class name the value should be converted to. Default: automatically determined through valueBinding
currencyCodefalsefalsejava.lang.StringISO 4217 currency code
currencySymbolfalsefalsejava.lang.StringThe currency symbol used to format a currency value. Defaults to the currency symbol for locale.
groupingUsedfalsefalsejava.lang.StringSpecifies whether output will contain grouping separators. Default: true.
integerOnlyfalsefalsejava.lang.StringSpecifies whether only the integer part of the input will be parsed. Default: false.
localefalsefalsejava.lang.StringThe name of the locale to be used, instead of the default as specified in the faces configuration file.
maxFractionDigitsfalsefalsejava.lang.StringThe maximum number of digits in the fractional portion of the number.
maxIntegerDigitsfalsefalsejava.lang.StringThe maximum number of digits in the integer portion of the number.
minFractionDigitsfalsefalsejava.lang.StringThe minimum number of digits in the fractional portion of the number.
minIntegerDigitsfalsefalsejava.lang.StringThe minimum number of digits in the integer portion of the number.
patternfalsefalsejava.lang.StringA custom Date formatting pattern, in the format used by java.text.SimpleDateFormat.
typefalsefalsejava.lang.StringThe type of formatting/parsing to be performed. Values include: number, currency, and percentage. Default: number.

Variables
No Variables Defined.


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