RichFaces Interview Questions and Answers
Ques 26. What is rich:calendar in RichFaces?
The rich:calendar component allows you to select a date using a monthly calendar widget. It is possible to use the component in a popup or inline mode. In popup mode the calendar is initially rendered as an input for date with a button on the right side to trigger the popup. For inline mode, the monthly calendar is rendered on the page initially.
<
rich:calendar
value
=
"#{calendarBean.dateSelected}"
id
=
"calendar"
locale
=
"#{calendarBean.locale}"
popup
=
"#{calendarBean.popup}"
datePattern
=
"#{calendarBean.pattern}"
showApplyButton
=
"#{calendarBean.showApply}"
cellWidth
=
"24px"
cellHeight
=
"22px"
style
=
"width:200px"
disabled
=
"#{calendarBean.disabled}"
>
</
rich:calendar
>
Is it helpful?
Add Comment
View Comments
Most helpful rated by users:
- What is RichFaces?
- What is rich:dataGrid in RichFaces?
- What are the basic configurations of web.xml for Rich Faces?
- What is limitToList attribute?
- What is rich:messages in RichFaces?