o
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 Classorg.openfaces.taglib.jsp.calendar.CalendarJspTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredBinding TypeELDefaultDescription
bindingfalsejavax.el.ValueExpression
(must evaluate to org.openfaces.component.calendar.Calendar)
onlynullA value-binding expression that associates the Calendar component with a backing bean property.
bodyClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the calendar body.
bodyStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the calendar body.
dayClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for all dates.
daysHeaderClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the row displaying weekday names.
daysHeaderStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the row displaying weekday names.
dayStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for all dates.
disabledfalsejavax.el.ValueExpression
(must evaluate to boolean)
truefalseA flag that enables or disables the component.
disabledClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the entire Calendar component in the disabled state.
disabledDayClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for disabled dates.
disabledDayStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the disabled dates.
disabledStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the entire Calendar component in the disabled state.
firstDayOfWeekfalsejavax.el.ValueExpression
(must evaluate to int)
true1The 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).
focusablefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
truetrueSpecifies whether this component can have input focus for keyboard control.
focusedClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name of the Calendar component when it is focused.
focusedStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style of the Calendar component when it is focused.
footerClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the calendar footer.
footerStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the calendar footer.
headerClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the calendar header.
headerStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the calendar header.
idfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
falsenullThe component identifier.
immediatefalsejavax.el.ValueExpression
(must evaluate to boolean)
truefalseA 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).
inactiveMonthDayClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the dates of a non-current month.
inactiveMonthDayStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the dates of a non-current month.
keepTimefalsejavax.el.ValueExpression
(must evaluate to boolean)
truefalseA flag that indicates whether or not to keep time portion of the bound date value.
labelfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA localized user presentable name for this component. Used when constructing validation messages for this component in the same way as for the standard component.
localefalsejavax.el.ValueExpression
(must evaluate to java.util.Locale)
trueclient'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).
noneTextfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullThe label for the "None" button.
onblurfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the Calendar loses focus.
onchangefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when the user changes a selected date.
onclickfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when the user clicks the left mouse button over the Calendar.
oncontextmenufalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user presses right mouse button over the component (or performs the other context menu invocation action depending on the platform).
ondblclickfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when the user double-clicks the left mouse button over the Calendar.
onfocusfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the Calendar receives focus.
onkeydownfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user presses a key over the Calendar.
onkeypressfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when the user presses and releases a key over the Calendar.
onkeyupfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user releases a key over the Calendar.
onmousedownfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user clicks over the Calendar with either mouse button.
onmousemovefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer over the Calendar.
onmouseoutfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer away from the Calendar.
onmouseoverfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer onto the Calendar.
onmouseupfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user releases a mouse button over the Calendar.
onperiodchangefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript 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.
renderedfalsejavax.el.ValueExpression
(must evaluate to boolean)
truefalseA flag that indicates whether or not the component is visible.
requiredfalsejavax.el.ValueExpression
(must evaluate to boolean)
truefalseA flag that indicates whether or not the Calendar requires a value.
rolloverClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the entire Calendar component in a rollover state.
rolloverDayClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for all dates in the rollover state.
rolloverDayStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for all dates in the rollover state.
rolloverDisabledDayClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for disabled dates in the rollover state.
rolloverDisabledDayStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the disabled dates in the rollover state.
rolloverInactiveMonthDayClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the dates of a non-current month in the rollover state.
rolloverInactiveMonthDayStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the dates of a non-current month in the rollover state.
rolloverSelectedDayClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the selected dates in the rollover state.
rolloverSelectedDayStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the selected date in the rollover state.
rolloverStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the entire Calendar component in a rollover state.
rolloverTodayClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for today's date in the rollover state.
rolloverTodayStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for today's date in the rollover state.
rolloverWeekendDayClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the weekend dates in the rollover state.
rolloverWeekendDayStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the weekend dates in the rollover state.
selectedDayClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the selected dates.
selectedDayStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the selected date.
showFooterfalsejavax.el.ValueExpression
(must evaluate to boolean)
truetrueA flag that indicates whether or not to show the calendar footer.
stylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the entire Calendar component.
styleClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the entire Calendar component.
timeZonefalsejavax.el.ValueExpression
(must evaluate to java.util.TimeZone)
trueThe server's default time zoneTime zone in which to interpret any time information in the date String. Value must be either a VB expression that evaluates to a java.util.TimeZone instance, or a String that is a timezone ID as described in the javadocs for java.util.TimeZone.getTimeZone().
todayClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for today's date.
todayStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for today's date.
todayTextfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
true"Today"The label for the "Today" button.
validatorfalsejavax.el.MethodExpression
(signature must match void validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object))
onlynullA MethodBinding that should point to the method in the backing bean that is called to validate the calendar's value.
valuefalsejavax.el.ValueExpression
(must evaluate to java.util.Date)
onlynullA currently selected date.
valueChangeListenerfalsejavax.el.MethodExpression
(signature must match void valueChange(javax.faces.event.ValueChangeEvent))
onlynullA MethodBinding that should point to the method that accepts a ValueChangeEvent. If the value of the Calendar changes, this method is executed.
weekendDayClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the weekend dates.
weekendDayStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the weekend dates.

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.