Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

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:

©2024 WithoutBook