limited date in calendar - primefaces

calendar, jsf, primefaces

Solution

I managed to fix this!

I just defined the attribute yearRange. The default value is yearRange="c-10:c+10" So I put like this:

yearRange="c-70:c+10"

Problem

I'm using primefaces calendar but I'm having a problem with the year. The select component lists just the last (and next) 10 years, so between 2003 and 2023. In a field of birthday it can be terrible.. Follow the print of the component. How can I fix it?

Original source