q
Tag calendar


The Calendar component enables the user to select a date from a one-month calendar and navigate between months and years. Child tags: dateRanges, simpleDateRange.


Tag Information
Tag Classteamdev.jsf.taglib.CalendarJspTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredBinding TypeELDefaultDescription
bindingfalseteamdev.jsf.component.calendar.CalendaronlynullA value-binding expression that associates the Calendar component with a backing bean property.
bodyClassfalsejava.lang.StringtruenullA CSS class name for the calendar body.
bodyStylefalsejava.lang.StringtruenullA style for the calendar body.
dayClassfalsejava.lang.StringtruenullA CSS class name for all dates.
daysHeaderClassfalsejava.lang.StringtruenullA CSS class name for the row displaying weekday names.
daysHeaderStylefalsejava.lang.StringtruenullA style for the row displaying weekday names.
dayStylefalsejava.lang.StringtruenullA style for all dates.
disabledDayClassfalsejava.lang.StringtruenullA CSS class name for disabled dates.
disabledDayStylefalsejava.lang.StringtruenullA style for the disabled dates.
firstDayOfWeekfalseinttrue1The 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).
footerClassfalsejava.lang.StringtruenullA CSS class name for the calendar footer.
footerStylefalsejava.lang.StringtruenullA style for the calendar footer.
headerClassfalsejava.lang.StringtruenullA CSS class name for the calendar header.
headerStylefalsejava.lang.StringtruenullA style for the calendar header.
idfalsejava.lang.StringfalsenullThe component identifier.
immediatefalsebooleantruefalseA 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).
inactiveMonthDayClassfalsejava.lang.StringtruenullA CSS class name for the dates of a non-current month.
inactiveMonthDayStylefalsejava.lang.StringtruenullA style for the dates of a non-current month.
localefalsejava.util.Localetrueclient's localeThe 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).
noneTextfalsejava.lang.StringtruenullThe label for the "None" button.
onchangefalsejava.lang.StringtruenullJavaScript code that should be executed on the client when the user changes a selected date.
onperiodchangefalsejava.lang.StringtruenullJavaScript 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.
renderedfalsebooleantruefalseA flag that indicates whether or not the component is visible.
requiredfalsebooleantruefalseA flag that indicates whether or not the Calendar requires a value.
rolloverDayClassfalsejava.lang.StringtruenullA CSS class name for all dates in the rollover state.
rolloverDayStylefalsejava.lang.StringtruenullA style for all dates in the rollover state.
rolloverDisabledDayClassfalsejava.lang.StringtruenullA CSS class name for disabled dates in the rollover state.
rolloverDisabledDayStylefalsejava.lang.StringtruenullA style for the disabled dates in the rollover state.
rolloverInactiveMonthDayClassfalsejava.lang.StringtruenullA CSS class name for the dates of a non-current month in the rollover state.
rolloverInactiveMonthDayStylefalsejava.lang.StringtruenullA style for the dates of a non-current month in the rollover state.
rolloverSelectedDayClassfalsejava.lang.StringtruenullA CSS class name for the selected dates in the rollover state.
rolloverSelectedDayStylefalsejava.lang.StringtruenullA style for the selected date in the rollover state.
rolloverTodayClassfalsejava.lang.StringtruenullA CSS class name for today's date in the rollover state.
rolloverTodayStylefalsejava.lang.StringtruenullA style for today's date in the rollover state.
rolloverWeekendDayClassfalsejava.lang.StringtruenullA CSS class name for the weekend dates in the rollover state.
rolloverWeekendDayStylefalsejava.lang.StringtruenullA style for the weekend dates in the rollover state.
selectedDayClassfalsejava.lang.StringtruenullA CSS class name for the selected dates.
selectedDayStylefalsejava.lang.StringtruenullA style for the selected date.
showFooterfalsebooleantruetrueA flag that indicates whether or not to show the calendar footer.
showWeekNumberfalsebooleantruefalseA flag that indicates whether or not to show the week number of a selected date in the calendar header.
stylefalsejava.lang.StringtruenullA style for the entire Calendar component.
styleClassfalsejava.lang.StringtruenullA CSS class name for the entire Calendar component.
todayClassfalsejava.lang.StringtruenullA CSS class name for today's date.
todayStylefalsejava.lang.StringtruenullA style for today's date.
todayTextfalsejava.lang.Stringtrue"Today"The label for the "Today" button.
validatorfalsejavax.faces.el.MethodBindingonlynullA MethodBinding that should point to the method in the backing bean that is called to validate the calendar's value.
valuefalsejava.util.DateonlynullA currently selected date.
valueChangeListenerfalsejavax.faces.el.MethodBindingonlynullA MethodBinding that should point to the method that accepts a ValueChangeEvent. If the value of the Calendar changes, this method is executed.
weekendDayClassfalsejava.lang.StringtruenullA CSS class name for the weekend dates.
weekendDayStylefalsejava.lang.StringtruenullA style for the weekend dates.
weekTextfalsejava.lang.Stringtrue"Wk"The label that is displayed before the week number.

Variables
No Variables Defined.


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.