Wykorzystanie kalendarza RichFaces calendar do wskazywania miesiąca i roku
The use case is to allow just month and year selections from the Calendar component and hide date selection feature.
1 2 3 4 5 6 7 8 9 10 |
<style type="text/css"> .special tr[id]{ display:none; } </style> <rich:calendar showWeekDaysBar="false" showFooter="false" value="#{calendarBean.selectedDate}" oncurrentdateselected="event.rich.component.selectDate(event.rich.date)" popup="false" styleClass="special"/> |