Attributes |
Name | Required | Binding Type | EL | Default | Description |
binding | false | teamdev.jsf.component.calendar.Calendar | only | null | A value-binding expression that associates the Calendar with a backing bean property. |
bodyClass | false | java.lang.String | true | null | A CSS class name for the calendar body. |
bodyStyle | false | java.lang.String | true | null | A style for the calendar body. |
dayClass | false | java.lang.String | true | null | A CSS class name for all dates. |
daysHeaderClass | false | java.lang.String | true | null | A CSS class name for the row displaying weekday names. |
daysHeaderStyle | false | java.lang.String | true | null | A style for the row displaying weekday names. |
dayStyle | false | java.lang.String | true | null | A style for all dates. |
disabledDayClass | false | java.lang.String | true | null | A CSS class name for disabled dates. |
disabledDayStyle | false | java.lang.String | true | null | A style for the disabled dates. |
firstDayOfWeek | false | int | true | 1 | The first day of the week which is used by the Calendar component to arrange days by weeks. It can take the values from "1" (Sunday) to "7" (Monday). |
footerClass | false | java.lang.String | true | null | A CSS class name for the calendar footer. |
footerStyle | false | java.lang.String | true | null | A style for the calendar footer. |
headerClass | false | java.lang.String | true | null | A CSS class name for the calendar header. |
headerStyle | false | java.lang.String | true | null | A style for the calendar header. |
id | false | java.lang.String | false | null | The component identifier. |
immediate | false | boolean | true | false | A flag that indicates whether or not the valueChangeListener should be executed immediately (during the Apply Request Values phase of the request processing lifecycle instead of Process Validations phase) and the component's input should be converted and validated immediately (during the Apply Request Values phase of the request processing lifecycle instead of the Process Validations phase). |
inactiveMonthDayClass | false | java.lang.String | true | null | A CSS class name for the dates of a non-current month. |
inactiveMonthDayStyle | false | java.lang.String | true | null | A style for the dates of a non-current month. |
locale | false | java.util.Locale | true | client's locale | The locale used by the Calendar component. You can specify the "locale" attribute as a value-binding expression or as String in "ll_CC_vv" format, where: ll stands for the language - lowercase two-letter ISO-639 code. CC stands for the country - uppercase two-letter ISO-3166 code (optional). vv stands for the variant - vendor and browser specific code (optional).
|
noneText | false | java.lang.String | true | null | The label for the "None" button. |
onchange | false | java.lang.String | true | null | JavaScript code that should be executed on the client when the user changes a selected date. |
onperiodchange | false | java.lang.String | true | null | JavaScript code that should be executed on the client on the first load of the Calendar component and then when the user changes months or years. |
rendered | false | boolean | true | false | A flag that indicates whether or not the component is visible. |
required | false | boolean | true | false | A flag that indicates whether or not the Calendar requires a value. |
rolloverDayClass | false | java.lang.String | true | null | A CSS class name for all dates in the rollover state. |
rolloverDayStyle | false | java.lang.String | true | null | A style for all dates in the rollover state. |
rolloverDisabledDayClass | false | java.lang.String | true | null | A CSS class name for disabled dates in the rollover state. |
rolloverDisabledDayStyle | false | java.lang.String | true | null | A style for the disabled dates in the rollover state. |
rolloverInactiveMonthDayClass | false | java.lang.String | true | null | A CSS class name for the dates of a non-current month in the rollover state. |
rolloverInactiveMonthDayStyle | false | java.lang.String | true | null | A style for the dates of a non-current month in the rollover state. |
rolloverSelectedDayClass | false | java.lang.String | true | null | A CSS class name for the selected dates in the rollover state. |
rolloverSelectedDayStyle | false | java.lang.String | true | null | A style for the selected date in the rollover state. |
rolloverTodayClass | false | java.lang.String | true | null | A CSS class name for today's date in the rollover state. |
rolloverTodayStyle | false | java.lang.String | true | null | A style for today's date in the rollover state. |
rolloverWeekendDayClass | false | java.lang.String | true | null | A CSS class name for the weekend dates in the rollover state. |
rolloverWeekendDayStyle | false | java.lang.String | true | null | A style for the weekend dates in the rollover state. |
selectedDayClass | false | java.lang.String | true | null | A CSS class name for the selected dates. |
selectedDayStyle | false | java.lang.String | true | null | A style for the selected date. |
showFooter | false | boolean | true | true | A flag that indicates whether or not to show the calendar footer. |
showWeekNumber | false | boolean | true | false | A flag that indicates whether or not to show the week number of a selected date in the calendar header. |
style | false | java.lang.String | true | null | A style for the entire Calendar component. |
styleClass | false | java.lang.String | true | null | A CSS class name for the entire Calendar component. |
todayClass | false | java.lang.String | true | null | A CSS class name for today's date. |
todayStyle | false | java.lang.String | true | null | A style for today's date. |
todayText | false | java.lang.String | true | "Today" | The label for the "Today" button. |
validator | false | javax.faces.el.MethodBinding | only | null | A MethodBinding that should point to the method in the backing bean that is called to validate the calendar's value. |
value | false | java.util.Date | only | null | A currently selected date. |
valueChangeListener | false | javax.faces.el.MethodBinding | only | null | A MethodBinding that should point to the method that accepts a ValueChangeEvent. If the value of the Calendar changes, this method is executed. |
weekendDayClass | false | java.lang.String | true | null | A CSS class name for the weekend dates. |
weekendDayStyle | false | java.lang.String | true | null | A style for the weekend dates. |
weekText | false | java.lang.String | true | "Wk" | The label that is displayed before the week number. |