Info | Value |
---|---|
Component Type | org.primefaces.component.DatePicker |
Handler Class | None |
Renderer Type | org.primefaces.component.DatePickerRenderer |
Description | None |
Name | Required | Type | Description |
---|---|---|---|
accesskey | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Access key to transfer focus to the input element. |
alt | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Alternate textual description of the input element. |
appendTo | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Appends the datepicker's panel to the given search expression. |
autocomplete | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Controls browser autocomplete behavior. |
autoDetectDisplay | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Detects if mobile browser and sets optimized interface for touch devices. Default is true. |
autoMonthFormat | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Whether to format the month. Default is true. |
beforeShow | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Callback to execute before displaying calendar. |
binding | false | jakarta.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent )
| An el expression referring to a server side UIComponent instance in a backing bean. |
buttonTabindex | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Position of the button in the tabbing order. |
converter | false | jakarta.el.ValueExpression
(must evaluate to javax.faces.convert.Converter )
| An el expression or a literal text that defines a converter for the component. When it's an EL expression, it's resolved to a converter instance. In case it's a static text, it must refer to a converter id. |
converterMessage | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Message to display when conversion fails. |
dateTemplate | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Function that gets a date information and returns the cell content in datepicker. |
dir | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Direction indication for text that does not inherit directionality. |
disabled | false | jakarta.el.ValueExpression
(must evaluate to boolean )
| Disables the input element, default is false. |
disabledDates | false | jakarta.el.ValueExpression
(must evaluate to java.util.List )
| List with dates that should be disabled (not selectable). |
disabledDays | false | jakarta.el.ValueExpression
(must evaluate to java.util.List )
| List with weekday numbers that should be disabled (not selectable). |
flex | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Use modern PrimeFlex-Grid instead of classic Grid CSS. |
focusOnSelect | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| If enabled, the input is focused again after selecting a date. Default is false. |
hideOnDateTimeSelect | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Whether to hide the overlay on date selection when showTime is enabled. Default is false. |
hideOnRangeSelection | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Whether to hide the overlay on date selection is completed when selectionMode is range. Default is false. |
hourFormat | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Specifies 12 or 24 hour format. |
id | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Unique identifier of the component in a namingContainer. |
immediate | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| When set true, process validations logic is executed at apply request values phase for this component. Default is false. |
inline | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| When enabled, displays the datepicker as inline. Default is false for popup mode. |
inputmode | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| HTML5 inputmode attribute for hinting at the type of data this control has for touch devices to display appropriate virtual keyboard. |
inputStyle | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Inline style of the input element. Used when inline is false. |
inputStyleClass | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Style class of the input element. Used when inline is false. |
keepInvalid | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Keep invalid value when input blur. Default is false. |
label | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| A localized user presentable name. |
lang | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Code describing the language used in the generated markup. |
locale | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Object )
| User locale for i18n localization messages. The attribute can be either a String or java.util.Locale object. |
locale | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Object )
| User locale for i18n localization messages. The attribute can be either a String or java.util.Locale object. |
mask | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Defines if a mask should be applied to the input field. Default value is "false" and valid values to enable are "true" that uses the pattern as the mask or a custom template. Refer to inputMask component for more information about custom templates. |
maskAutoClear | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Clears the field on blur when incomplete input is entered. |
maskSlotChar | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| PlaceHolder in mask template. |
maxdate | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Object )
| Sets datepicker's maximum visible date. |
maxDateCount | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Integer )
| Maximum number of selectable dates in multiple mode. Default is java.lang.Integer.MAX_VALUE. |
maxlength | false | jakarta.el.ValueExpression
(must evaluate to int )
| Maximum number of characters that may be entered in this field. |
mindate | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Object )
| Sets datepicker's minimum visible date. |
model | false | jakarta.el.ValueExpression
(must evaluate to org.primefaces.model.datepicker.DateMetadataModel )
| Model with meta data for certain dates, like disabled. |
monthNavigator | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Whether the month should be rendered as a dropdown instead of text. Default is false. |
numberOfMonths | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Integer )
| Number of months to display. Default is 1. |
onblur | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when input element loses focus. |
onchange | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when input element loses focus and its value has been modified since gaining focus. |
onclick | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when input element is clicked. |
oncontextmenu | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when a context menu is triggered. |
oncopy | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when the user cuts the content of an element. |
oncut | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when the user copies the content of an element. |
ondblclick | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when input element is double clicked. |
ondrag | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when an element is dragged. |
ondragend | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute at the end of a drag operation. |
ondragenter | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when an element has been dragged to a valid drop target. |
ondragleave | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when an element leaves a valid drop target. |
ondragover | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when an element is being dragged over a valid drop target. |
ondragstart | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute at the start of a drag operation. |
ondrop | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when dragged element is being dropped. |
onfocus | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when input element receives focus. |
oninput | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when an element gets user input. |
oninvalid | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when an element is invalid. |
onkeydown | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when a key is pressed down over input element. |
onkeypress | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when a key is pressed and released over input element. |
onkeyup | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when a key is released over input element. |
onMonthChange | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Callback to invoke when a month is changed using the navigators. |
onmousedown | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when a pointer input element is pressed down over input element. |
onmousemove | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when a pointer input element is moved within input element. |
onmouseout | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when a pointer input element is moved away from input element. |
onmouseover | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when a pointer input element is moved onto input element. |
onmouseup | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when a pointer input element is released over input element. |
onpaste | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when the user pastes some content in an element. |
onreset | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when the Reset button in a form is clicked. |
onscroll | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when an element's scrollbar is being scrolled. |
onsearch | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when the user writes something in a search field. |
onselect | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when text within input element is selected by user. |
onwheel | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Client side callback to execute when the mouse wheel rolls up or down over an element. |
onYearChange | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Callback to invoke when a year is changed using the navigators. |
panelStyle | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Inline style of the datetimepicker container element. |
panelStyleClass | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Style class of the datetimepicker container element. |
pattern | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| DateFormat pattern for localization. |
placeholder | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| The placeholder attribute specifies a short hint that describes the expected value of an input field. |
rangeSeparator | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Separator for joining start and end dates on range selection mode. Default value is "-". |
readonly | false | jakarta.el.ValueExpression
(must evaluate to boolean )
| Flag indicating that this input element will prevent changes by the user. |
readonlyInput | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Makes input text of a popup datepicker readonly. Default is false. |
rendered | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Boolean value to specify the rendering of the component, when set to false component will not be rendered. |
required | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Marks component as required. |
requiredMessage | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Message to display when required field validation fails. |
resolverStyle | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| ResolverStyle for java.time.format.DateTimeFormatter, lenient, smart or strict, Default is smart. |
responsiveBreakpoint | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Integer )
| This is the breakpoint in pixels when to automatically switch to optimized interface if autoDetectDisplay=true. Default is 576. |
selectionMode | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Defines the quantity of the selection, valid values are "single", "multiple" and "range". Default is "single". |
selectOtherMonths | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Whether days in other months shown before or after the current month are selectable. This only applies if the showOtherMonths option is set to true. Default is false. |
shortYearCutoff | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| The cutoff year for determining the century for a date. Default is "+10". |
showButtonBar | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Whether to display today and clear buttons at the footer. Default is false. |
showIcon | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| When enabled, displays a button with icon next to input. Default is false. |
showMilliseconds | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Whether to show the milliseconds in time picker. Default is false. |
showMinMaxRange | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Only display valid dates within the min/max range. Default is true. |
showOnFocus | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| When disabled, datepicker will not be visible with input focus. Default is true. |
showOtherMonths | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Whether to display dates in other months (non-selectable) at the start or end of the current month. To make these days selectable use the selectOtherMonths option. Default is false. |
showSeconds | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Whether to show the seconds in time picker. Default is false. |
showTime | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Whether to display timepicker. Default is false. |
showWeek | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Display the current calendar week infront of each row in the calendar panel. |
showWeek | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Display the current calendar week infront of each row in the calendar panel. |
size | false | jakarta.el.ValueExpression
(must evaluate to int )
| Number of characters used to determine the width of the input element. |
stepHour | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Integer )
| Hours to change per step. Default is 1. |
stepMillisecond | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Integer )
| Milliseconds to change per step. Default is 1. |
stepMinute | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Integer )
| Minutes to change per step. Default is 1. |
stepSecond | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Integer )
| Seconds to change per step. Default is 1. |
style | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Inline style of the component. |
styleClass | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Style class of the component. |
tabindex | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Position of the element in the tabbing order. |
timeInput | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Allows direct input in time field. Default is false. |
timeOnly | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Shows only time picker without date. Default is false. |
timeOnly | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Whether to display timepicker only. Default is false. |
timeZone | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Object )
| String or a java.util.TimeZone instance to specify the timezone used for date conversion, defaults to TimeZone.getDefault() |
title | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Advisory tooltip information. |
touchable | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Enable touch support if browser detection supports it. Default is false because it is globally enabled by default. |
touchUI | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| When enabled, calendar overlay is displayed as optimized for touch devices. Default is false. |
triggerButtonIcon | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Icon of the trigger button when showIcon is enabled |
type | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Input field type. Default is text. |
validator | false | jakarta.el.ValueExpression
(must evaluate to javax.faces.validator.Validator )
| A method expression referring to a method validating the input. |
validatorMessage | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Message to display when validation fails. |
value | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Object )
| Value of the component. |
valueChangeListener | false | jakarta.el.ValueExpression
(must evaluate to javax.faces.event.ValueChangeListener )
| A method binding expression referring to a method for handling a valuchangeevent. |
view | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Type of view to display, valid values are "date" for datepicker and "month" for month picker. |
weekCalculator | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| A javascript method that is used to calculate the calendar week. Default implementations are available if start of week is monday, sunday or saturday. |
weekCalculator | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| A javascript method that is used to calculate the calendar week. Default implementations are available if start of week is monday, sunday or saturday. |
widgetVar | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| Name of the client side widget. |
yearNavigator | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Whether the year should be rendered as a dropdown instead of text. Default is false. |
yearRange | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
| The range of years displayed in the year drop-down in (nnnn:nnnn) format such as (2000:2020). |
Output generated by Vdldoc View Declaration Language Documentation Generator.