Converts between java.lang.String
values in your component
properties and data types of java.util.Date
. The converter is usually applied to the component property that is used to display values and to pick up values entered by users, such as the text
property of a Text Field component.
An example is binding a JavaServer Faces component to to a
database column of type DATE
. When you bind a component, the IDE normally
identifies the data type for you and sets the appropriate converter when you
establish a binding to the value property. However, you can also add
this converter manually by setting the component's converter
property.
Conversion error occurred.
name: 'entered-value' must be a converter-type.
In this message, name is either the ID of the component or the contents of its label if the component has one, entered-value is the value that the user entered, and converter-type is the type of the converter. For example, if the converter is a Big Decimal converter, the converter-type is signed decimal number
.
For more information on the date styles used by this converter, see the following two Java class API descriptions: