JSF Core Facelets Tag Library.
Tag convertNumber


This tag creates a number formatting converter and associates it with the nearest parent UIComponent. Unless otherwise specified, all attributes accept static values or EL expressions. see Javadoc of JSF Specification

Register a NumberConverter instance on the UIComponent associated with the closest parent UIComponent custom action.

See tag documentation.



Tag Information
Tag Classorg.apache.myfaces.view.facelets.tag.jsf.core.ConvertNumberHandler
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
forfalsefalsejava.lang.String{@inheritDoc}
currencyCodefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
ISO 4217 currency code
currencySymbolfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The currency symbol used to format a currency value. Defaults to the currency symbol for locale.
groupingUsedfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Specifies whether output will contain grouping separators. Default: true.
integerOnlyfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Specifies whether only the integer part of the input will be parsed. Default: false.
localefalsefalsejavax.el.ValueExpression
(must evaluate to java.util.Locale)
The name of the locale to be used, instead of the default as specified in the faces configuration file.
maxFractionDigitsfalsefalsejavax.el.ValueExpression
(must evaluate to int)
The maximum number of digits in the fractional portion of the number.
maxIntegerDigitsfalsefalsejavax.el.ValueExpression
(must evaluate to int)
The maximum number of digits in the integer portion of the number.
minFractionDigitsfalsefalsejavax.el.ValueExpression
(must evaluate to int)
The minimum number of digits in the fractional portion of the number.
minIntegerDigitsfalsefalsejavax.el.ValueExpression
(must evaluate to int)
The minimum number of digits in the integer portion of the number.
patternfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A custom Date formatting pattern, in the format used by java.text.SimpleDateFormat.
typefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The type of formatting/parsing to be performed. Values include: number, currency, and percent. Default: number.
bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.convert.NumberConverter)
A ValueExpression that evaluates to a NumberConverter.

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.