Extend Date Picker

Modify alfresco\webapps\alfresco\WEB-INF\faces-config-beans.xml file.
The following example sets date picker year back to 1799

<managed-bean>
  <description>
     Bean that generates a date picker component
  </description>
  <managed-bean-name>
    DatePickerGenerator
  </managed-bean-name>
  <managed-bean-class>
    org.alfresco.web.bean.generator
    .DatePickerGenerator
  </managed-bean-class>
  <managed-bean-scope>request</managed-bean-scope>
  <managed-property>
     <property-name>startYear</property-name>
     <value>2008</value>
  </managed-property>
  <managed-property>
     <property-name>yearCount</property-name>
     <value>210</value>
  </managed-property>
  <!--
  <managed-property>
     <property-name>initialiseIfNull</property-name>
     <value>false</value>
  </managed-property>
  -->
</managed-bean>
This entry was posted in alfresco. Bookmark the permalink.