Date Picker

Document created by resplin Employee on Jun 6, 2015Last modified by alfresco-archivist on Aug 31, 2016
Version 2Show Document
  • View in full screen mode

Obsolete Pages{{Obsolete}}

The official documentation is at: http://docs.alfresco.com



JSF Component
Back to Component Library


Date Picker


General Description


The DatePicker input component enables the user to select a date value from a simple set of 3 drop-down lists. It can be configured to restrict the number of possible year values shown. The component supports JSF converter components.


Tag details


<string>'
  rendered='<boolean>'
  styleClass='<string>'
  style='<string>'
  value='<Date>'
  startYear='<int>'
  yearCount='<int>'
/>

Custom tag attributes


value - the Date value to display. If not set, the current Date will be used.

startYear - the start years from which to generate year values from.

yearCount - the number of possible year values to generate.


Example


  <a:inputDatePicker value='#{bean.createdDate}' startYear='1996' yearCount='10'/>

Screenshots


Standard DatePicker with a CSS style applied:

DatePicker_1.gif

Attachments

Outcomes