q
Tag dateChooser


The DateChooser component allows the user to enter a date either by typing it in the text field or selecting it from the calendar that appears when clicking a button next to text field. The selected date is displayed in the text field in the specified format.


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

Attributes
NameRequiredBinding TypeELDefaultDescription
bindingfalseteamdev.jsf.component.datechooser.DateChooseronlynullA value-binding expression that associates the DateChooser component with a backing bean property.
buttonImageUrlfalsejava.lang.StringtruenullURL to the image file that is used to render the button that opens the pop-up calendar.
buttonStylefalsejava.lang.StringtruenullA style for the button that opens the pop-up calendar.
calendarClassfalsejava.lang.StringtruenullA CSS class name for the pop-up calendar.
calendarStylefalsejava.lang.StringtruenullA style for the pop-up calendar.
dateFormatfalsejava.lang.Stringtrue"medium"This attribute defines which of the predefined date formats for a given locale should be used.
Available values are:
"short" — the same as "SHORT" format in the java.text.DateFormat
"medium" — the same as "MEDIUM" format in the java.text.DateFormat
"long" — the same as "LONG" format in the java.text.DateFormat
"full" — the same as "FULL" format in the java.text.DateFormat
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.
firstDayOfWeekfalseinttrue1The first day of the week which is used by the pop-up calendar to arrange days by weeks. It can take the values from "1" (Sunday) to "7" (Monday).
footerClassfalsejava.lang.StringtruenullA CSS class name for the footer of the pop-up calendar.
footerStylefalsejava.lang.StringtruenullA style for the footer of the pop-up calendsar.
headerClassfalsejava.lang.StringtruenullA CSS class name for the header of the pop-up calendar.
headerStylefalsejava.lang.StringtruenullA style for the header of the pop-up calendar.
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 DateChooser component. You can specify the "locale" attribute as a value-binding expression or as a 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 in the pop-up calendar.
onblurfalsejava.lang.StringtruenullJavaScript code that should be executed when the DateChooser loses focus.
onchangefalsejava.lang.StringtruenullJavaScript code that should be executed on the client when the user changes a date.
onclickfalsejava.lang.StringtruenullJavaScript code that should be executed on the client when the user clicks the left mouse button over the DateChooser.
ondblclickfalsejava.lang.StringtruenullJavaScript code that should be executed on the client when the user double-clicks the left mouse button over the DateChooser.
onfocusfalsejava.lang.StringtruenullJavaScript code that should be executed when the DateChooser receives focus.
onkeydownfalsejava.lang.StringtruenullJavaScript code that should be executed when the user presses a key over the DateChooser.
onkeypressfalsejava.lang.StringtruenullJavaScript code that should be executed on the client when the user presses and releases a key over the DateChooser.
onkeyupfalsejava.lang.StringtruenullJavaScript code that should be executed when the user releases a key over the DateChooser.
onmousedownfalsejava.lang.StringtruenullJavaScript code that should be executed when the user clicks over the DateChooser with either mouse button.
onmousemovefalsejava.lang.StringtruenullJavaScript code that should be executed when the user moves the mouse pointer over the DateChooser.
onmouseoutfalsejava.lang.StringtruenullJavaScript code that should be executed when the user moves the mouse pointer away from the DateChooser.
onmouseoverfalsejava.lang.StringtruenullJavaScript code that should be executed when the user moves the mouse pointer onto the DateChooser.
onmouseupfalsejava.lang.StringtruenullJavaScript code that should be executed when the user releases a mouse button over the DateChooser.
patternfalsejava.lang.StringfalsenullThe date format with the pattern similar to that in the java.text.SimpleDateFormat class.
renderedfalsebooleantruefalseA flag that indicates whether or not the component is visible.
requiredfalsebooleantruefalseA flag that indicates whether or not the DateChooser requires a value.
rolloverButtonStylefalsejava.lang.StringtruenullA style for the button in the rollover state that opens the pop-up calendar.
rolloverDayClassfalsejava.lang.StringtruenullA CSS class name for all dates in the rollover state.
rolloverDayStylefalsejava.lang.StringtruenullA style for all 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 a selected date in the rollover state.
rolloverSelectedDayStylefalsejava.lang.StringtruenullA style for a 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 a selected date.
selectedDayStylefalsejava.lang.StringtruenullA style for a selected date.
showFooterfalsebooleantruetrueA flag that indicates whether or not to show the footer of the pop-up calendar.
showWeekNumberfalsebooleantruefalseA flag that indicates whether or not to show the week number of a selected date in the header of the pop-up calendar.
stylefalsejava.lang.StringtruenullA style for the entire DateChooser component.
styleClassfalsejava.lang.StringtruenullA CSS class name for the entire DateChooser component.
timeZonefalsejava.util.TimeZonetrueGMTThe timeZone is used by the DateChooser component. You can specify the "timeZone" attribute as a value-binding expression or as a String: either as abbreviation ("PST"), a full name ("America/Los_Angeles"), or a custom ID ("GMT-8:00").
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 in the pop-up calendar.
validatorfalsejavax.faces.el.MethodBindingonlynullA MethodBinding that should point to the method in the backing bean that is called to validate the DateChooser's value.
valuefalsejava.lang.StringnonenoneNo Description
valueChangeListenerfalsejavax.faces.el.MethodBindingonlynullA MethodBinding that should point to the method that accepts a ValueChangeEvent. If the value of the DateChooser 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 in the pop-up calendar.

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.