Attributes |
Name | Required | Request-time | Type | Description |
value | true | true | java.lang.String |
The object to be formatted.
|
var | false | true | java.lang.String |
The (optional) name of a scoped variable to store the formatted value in. If no
name is specified then the value will be written directly to the page instead. See
also the 'scope' attribute to control which scope the variable gets set in.
|
scope | false | true | java.lang.String |
The (optional) name of the JSP scope into which to set the variable specified by
the var attribute. Valid values are 'page', 'request', 'session' and 'application'.
Defaults to 'page'.
|
formatType | false | true | java.lang.String | The type used to format the object. If the value is a date, valid values are 'date', 'time' and 'datetime'. If the value is a Number, valid values are 'number', 'percentage' and 'currency'. |
formatPattern | false | true | java.lang.String | The pattern to apply. Can be either a named pattern or an actual pattern as understood by java.text.DateFormat or java.text.NumberFormat as appropriate for the type of object being formatted. |