Overview | Library | Tag | Help
| FRAMES NO FRAMES

## f
Tag convertDateTime

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

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

Attributes
Name | Required | Request-time | Type | Description
dateStyle | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Predefined formatting style which determines how the date component of a date string is to be formatted and parsed. Applied only if type is "date" or "both". Valid values are "default", "short", "medium", "long", and "full". Default value is "default".
locale | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | Locale whose predefined styles for dates and times are used during formatting or parsing. If not specified, the Locale returned by FacesContext.getViewRoot().getLocale() will be used. Value must be either a VB expression that evaluates to a java.util.Locale instance, 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.
pattern | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Custom formatting pattern which determines how the date/time string should be formatted and parsed.
timeStyle | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Predefined formatting style which determines how the time component of a date string is to be formatted and parsed. Applied only if type is "time" or "both". Valid values are "default", "short", "medium", "long", and "full". Default value is "default".
timeZone | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | Time zone in which to interpret any time information in the date String. Value must be either a VB expression that evaluates to a java.util.TimeZone instance, or a String that is a timezone ID as described in the javadocs for java.util.TimeZone.getTimeZone().
type | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Specifies what contents the string value will be formatted to include, or parsed expecting. Valid values are "date", "time", and "both". Default value is "date".
binding | false | false | `javax.el.ValueExpression` (must evaluate to `javax.faces.convert.DateTimeConverter`) | A ValueExpression that evaluates to an instance of javax.faces.convert.DateTimeConverter.

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.