[ http://issues.apache.org/jira/browse/ADFFACES-91?page=all ]
Pierre-Luc Archambault updated ADFFACES-91:
-------------------------------------------
Attachment: trunk_patch91.patch
Added a new attribute that allows the user to specify the visibleYearCount in
BOTH chooseDate AND inputDate.
If this attribute is used, the value entered by the user will override the
constant that was used to set the range of the selectable year from the
dropdown.
As it is the case with both other patches provided earlier concerning the date
picker, this patch doesn't include others attributes from the others patches,
so pay attention when merging all the three together.
> Allow user to control the amount of years shown in the drop-down of date
> picker
> -------------------------------------------------------------------------------
>
> Key: ADFFACES-91
> URL: http://issues.apache.org/jira/browse/ADFFACES-91
> Project: MyFaces ADF-Faces
> Issue Type: Improvement
> Reporter: Simon Lessard
> Priority: Minor
> Attachments: trunk_patch91.patch
>
>
> Currently, date picker grant a range of 29 years or so in its drop-down, 14
> years before, current year and 14 years after, meaning that you can go back
> at most 14 years before having to choose "Before XXXX". For old date like
> birthdate, this can be irritating for the user. For example, someone born
> around 1940 would have to choose:
> Before 1992
> Before 1977
> Before 1962
> Before 1947
> 1940
> Choosing 5 times from the drop-down makes it easier to just type the year
> manually. Adding an available date range property to date picker and select
> input date would help developer tweak that behavior to be able to increase
> the amount of years shown in the drop-down, and thus improve the high-end
> user experience with birthdate fields.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira