[ 
https://issues.apache.org/jira/browse/WICKET-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gerolf Seitz updated WICKET-806:
--------------------------------

    Attachment: YearMonthSelection.patch

patch that provides month/year selection using two select boxes.
month labels are taken from the (localized) datepicker configuration.
the rendered years follow the following pattern:
-9 (relative value to current year)
-7
-5
-3
-1
<current year>
+1
+3
+5
+7
+9

currently this can't be configured, and some may even find this pattern stupid 
(as one would have to click twice to select the +4 year), but i thought it 
enables "detailed" selection around the current year and a wider selection for 
further dates. 
to configure this, probably two methods should be added (eg: 
getYearSelectionMaxDelta, getYearSelectionStep), but as this is the first 
proposal, i wanted to get some feedback first.

> add month/year selection
> ------------------------
>
>                 Key: WICKET-806
>                 URL: https://issues.apache.org/jira/browse/WICKET-806
>             Project: Wicket
>          Issue Type: New Feature
>          Components: wicket-datetime
>    Affects Versions: 1.3.0-beta2
>            Reporter: Gerolf Seitz
>         Attachments: YearMonthSelection.patch
>
>
> for faster navigation, direct month and year selection should be provided.
> to avoid parsing (wrong) user input, select boxes should be used.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to