Overview | Library | Tag | Help
| FRAMES NO FRAMES

## f
Tag convertNumber

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

Tag Information
Tag Class | com.sun.faces.taglib.jsf_core.ConvertNumberTag
TagExtraInfo Class | None
Body Content | empty
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
currencyCode | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | ISO 4217 currency code, applied only when formatting currencies.
currencySymbol | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Currency symbol, applied only when formatting currencies.
groupingUsed | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Boolean`) | Flag specifying whether formatted output will contain grouping separators. Expressions must evaluate to a boolean. Default value is true.
integerOnly | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Boolean`) | Flag specifying whether only the integer part of the value will be formatted and parsed. Expressions must evaluate to a boolean. Default value is false.
locale | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | Locale whose predefined styles for numbers are used during formatting and parsing. If not specified, the Locale returned by FacesContext.getViewRoot().getLocale() will be used. Expressions must evaluate to a java.util.Locale or a String that is valid to pass as the first argument to the constructor java.util.Locale(String language, String country). The empty string is passed as the second argument.
maxFractionDigits | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Integer`) | Maximum number of digits that will be formatted in the fractional portion of the output. Expressions must evaluate to an int.
maxIntegerDigits | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Integer`) | Maximum number of digits that will be formatted in the integer portion of the output. Expressions must evaluate to an int.
minFractionDigits | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Integer`) | Minimum number of digits that will be formatted in the fractional portion of the output. Expressions must evaluate to an int.
minIntegerDigits | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Integer`) | Minimum number of digits that will be formatted in the integer portion of the output. Expressions must evaluate to an int.
pattern | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Custom formatting pattern which determins how the number string should be formatted and parsed.
type | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Specifies how the number string will be formatted and parsed. Valid values are "number", "currency", and "percent". Default value is "number".
binding | false | false | `javax.el.ValueExpression` (must evaluate to `javax.faces.convert.NumberConverter`) | A ValueExpression that evaluates to an instance of javax.faces.convert.NumberConverter.

Variables
| No Variables Defined.

Overview | Library | Tag | Help
| FRAMES NO FRAMES

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.