If you ended up here in your search, you’re probably not able to select years above ’2013′ (or something similar) in the date picker. Why is this set to this value by default is beyond me, but since you’ll learn how to change it now – who cares!

Basically, what you need to do is to edit the faces-config-custom.xml (this actually overrides the faces-config-beans.xml one) file. If you’re too lazy to look it up right away, the part we’re interested in looks something like this:

<managed-bean>
<managed-bean-name>DatePickerGenerator</managed-bean-name>
...
<managed-property>
<property-name>startYear</property-name>
<value>2020</value>
</managed-property>
<managed-property>
<property-name>yearCount</property-name>
<value>20</value>
</managed-property>
</managed-bean>

This will show years from ’2020′ to ’2000′, so you can see that the count goes downwards, from the start year.

There’s some additional information and best practice advices here.