options |
Object
|
<optional>
|
an object literal used to provide the following properties
Properties
Name |
Type |
Argument |
Description |
dayFormatter |
Function
|
<optional>
|
Additional info to be used when rendering the day. This
should be a JavaScript Function callback which accepts as its argument the following JSON format
{fullYear: Date.getFullYear(), month: Date.getMonth()+1, date: Date.getDate()}
and returns null or all or partial JSON data of the form
{disabled: true|false, className: "additionalCSS", tooltip: 'Stuff to display'} |
messageSummary |
string
|
<optional>
|
an optional custom error message summarizing the
error. When not present, the default message summary is the resource defined with the key
oj-validator.restriction.date.messageSummary .
Tokens: {value} - value entered by user.
Example:
"Value {value} is disabled."
|
messageDetail |
string
|
<optional>
|
a custom error message used for creating detail part
of message. When not present, the default message detail is the
resource defined with the key oj-validator.restriction.date.messageDetail .
Tokens: {value} - value entered by user.
Example:
"Value {value} is a disabled entry. Please select a different date."
|
|