You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Frank Bille Jensen (JIRA)" <ji...@apache.org> on 2007/12/29 23:06:43 UTC
[jira] Created: (WICKET-1252) Default start week day based on
locale
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.
[jira] Commented: (WICKET-1252) Default start week day based on
locale
Posted by "Fredrik Jonsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555434#action_12555434 ]
Fredrik Jonsson commented on WICKET-1252:
-----------------------------------------
The ability to have the correct start day based on locale is important if wicket should be used with real world users.
> 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.
[jira] Resolved: (WICKET-1252) Default start week day based on
locale
Posted by "Gerolf Seitz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gerolf Seitz resolved WICKET-1252.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.3.1
Assignee: Gerolf Seitz
> 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
> Assignee: Gerolf Seitz
> Priority: Trivial
> Fix For: 1.3.1
>
>
> 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.
[jira] Issue Comment Edited: (WICKET-1252) Default start week day
based on locale
Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555442#action_12555442 ]
frankbille edited comment on WICKET-1252 at 1/2/08 3:27 PM:
--------------------------------------------------------------------
Just to mention it, but there is nothing that prevents users from doing it them selves in their own #configure in current wicket. It's just to have a decent default.
was (Author: frankbille):
Just to mention it, but there is nothing that prevents users from doing it them selves in their own #configure. It's just to have a decent default.
> 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.
[jira] Commented: (WICKET-1252) Default start week day based on
locale
Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555442#action_12555442 ]
Frank Bille Jensen commented on WICKET-1252:
--------------------------------------------
Just to mention it, but there is nothing that prevents users from doing it them selves in their own #configure. It's just to have a decent default.
> 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.