9 Replies Latest reply on Jan 30, 2014 5:22 PM by Busssard Buss

    rich:calendar to show only month and year, for credit card e

    first last Newbie

      Hi all,

      I wanna use a rich:calendar for choosing a credit card's exipry date,
      i.e. only a month and a year selection is needed.

      I don't mind storing the component's value as a Date in my backing bean,
      and I can display only the month+year using datePattern="MM-yy".

      Thing is, I'd like for the calendar to display ONLY the month+year selection panel you get when you click the month, year header,
      referred to as "quick month and year selection feature" in the docs:

      Is this possible ?
      Or any other alternative, such as simply hiding the entire grid of days of the month ?