p:calendar - how to show full range years in page list

UI Components for JSF
Post Reply
averri
Posts: 136
Joined: 07 Sep 2009, 15:51
Location: Brazil

08 Nov 2010, 00:42

Hi, I would like to know how to show full range of years in p:calendar when using 'minDate', 'maxDate' and 'pages=true'.

For example: when using 'minDate=01/01/1950' and 'maxDate=12/31/2010' the first time the calendar is rendered there will be only 11 years available in the year list. I need to show the full range, from minDate to maxDate. :)

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 24 guests