Default start week day based on locale
--------------------------------------

                 Key: WICKET-1252
                 URL: https://issues.apache.org/jira/browse/WICKET-1252
             Project: Wicket
          Issue Type: Improvement
          Components: wicket-datetime
            Reporter: Frank Bille Jensen
            Priority: Trivial


Add something like this to the DatePicker#configure method:

widgetProperties.put("START_WEEKDAY", 
Calendar.getInstance(getLocale()).getFirstDayOfWeek()-1);

(though preferable more explicit about the locale-to-YUI week day mapping)

In this way users have full flexibility as well as a decent default.

-- 
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