You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "dzlei (JIRA)" <ji...@apache.org> on 2007/12/27 16:58:43 UTC

[jira] Created: (WICKET-1243) the DatePicker show the same week title in china.

the DatePicker show the same week title in china.  
---------------------------------------------------

                 Key: WICKET-1243
                 URL: https://issues.apache.org/jira/browse/WICKET-1243
             Project: Wicket
          Issue Type: Bug
          Components: wicket-datetime
    Affects Versions: 1.3.0-rc2, 1.3.0-rc1, 1.3.0-beta4
         Environment: in chinese(zh_CN) language
            Reporter: dzlei


the DatePicker show the same week title in china.  you can see it  here:
http://www.56x3.cn/wicket/bug.png


if  DatePicker can show as floww is the best:
http://www.56x3.cn/wicket/fix.png


i have correct this on my own version.  i will submit the solution tomorrow

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


[jira] Updated: (WICKET-1243) the DatePicker show the same week title in china.

Posted by "Julian Ding (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Ding updated WICKET-1243:
--------------------------------

    Fix Version/s: 1.3.0-rc3

> the DatePicker show the same week title in china.  
> ---------------------------------------------------
>
>                 Key: WICKET-1243
>                 URL: https://issues.apache.org/jira/browse/WICKET-1243
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3.0-beta4, 1.3.0-rc1, 1.3.0-rc2
>         Environment: in chinese(zh_CN) language
>            Reporter: Julian Ding
>            Priority: Minor
>             Fix For: 1.3.0-rc3
>
>         Attachments: screenshot-1.jpg, screenshot-2.jpg
>
>
> the DatePicker show the same week title in china.  you can see it  here in the first pic.
> if  DatePicker can show as the last pic  is the best:
> i have correct this on my own version.  i will submit the solution tomorrow

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


[jira] Commented: (WICKET-1243) the DatePicker show the same week title in china.

Posted by "Gerolf Seitz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554854 ] 

Gerolf Seitz commented on WICKET-1243:
--------------------------------------

can you provide escaped unicode sequences for the short weekdays?

> the DatePicker show the same week title in china.  
> ---------------------------------------------------
>
>                 Key: WICKET-1243
>                 URL: https://issues.apache.org/jira/browse/WICKET-1243
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3.0-beta4, 1.3.0-rc1, 1.3.0-rc2
>         Environment: in chinese(zh_CN) language
>            Reporter: Julian Ding
>            Priority: Minor
>             Fix For: 1.3.0-rc3
>
>         Attachments: screenshot-1.jpg, screenshot-2.jpg
>
>
> the DatePicker show the same week title in china.  you can see it  here in the first pic.
> if  DatePicker can show as the last pic  is the best:
> i have correct this on my own version.  i will submit the solution tomorrow

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


[jira] Updated: (WICKET-1243) the DatePicker show the same week title in china.

Posted by "dzlei (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dzlei updated WICKET-1243:
--------------------------

    Comment: was deleted

> the DatePicker show the same week title in china.  
> ---------------------------------------------------
>
>                 Key: WICKET-1243
>                 URL: https://issues.apache.org/jira/browse/WICKET-1243
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3.0-beta4, 1.3.0-rc1, 1.3.0-rc2
>         Environment: in chinese(zh_CN) language
>            Reporter: dzlei
>            Priority: Minor
>         Attachments: screenshot-1.jpg, screenshot-2.jpg
>
>
> the DatePicker show the same week title in china.  you can see it  here in the first pic.
> if  DatePicker can show as the last pic  is the best:
> i have correct this on my own version.  i will submit the solution tomorrow

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


[jira] Resolved: (WICKET-1243) the DatePicker show the same week title in china.

Posted by "Gerolf Seitz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerolf Seitz resolved WICKET-1243.
----------------------------------

    Resolution: Fixed

fixed, thanks for the patch.

> the DatePicker show the same week title in china.  
> ---------------------------------------------------
>
>                 Key: WICKET-1243
>                 URL: https://issues.apache.org/jira/browse/WICKET-1243
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3.0-beta4, 1.3.0-rc1, 1.3.0-rc2
>         Environment: in chinese(zh_CN) language
>            Reporter: Julian Ding
>            Assignee: Gerolf Seitz
>            Priority: Minor
>             Fix For: 1.3.1
>
>         Attachments: screenshot-1.jpg, screenshot-2.jpg
>
>
> the DatePicker show the same week title in china.  you can see it  here in the first pic.
> if  DatePicker can show as the last pic  is the best:
> i have correct this on my own version.  i will submit the solution tomorrow

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


[jira] Updated: (WICKET-1243) the DatePicker show the same week title in china.

Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank Bille Jensen updated WICKET-1243:
---------------------------------------

    Fix Version/s:     (was: 1.3.0-rc3)
                   1.3.1

> the DatePicker show the same week title in china.  
> ---------------------------------------------------
>
>                 Key: WICKET-1243
>                 URL: https://issues.apache.org/jira/browse/WICKET-1243
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3.0-beta4, 1.3.0-rc1, 1.3.0-rc2
>         Environment: in chinese(zh_CN) language
>            Reporter: Julian Ding
>            Priority: Minor
>             Fix For: 1.3.1
>
>         Attachments: screenshot-1.jpg, screenshot-2.jpg
>
>
> the DatePicker show the same week title in china.  you can see it  here in the first pic.
> if  DatePicker can show as the last pic  is the best:
> i have correct this on my own version.  i will submit the solution tomorrow

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


[jira] Commented: (WICKET-1243) the DatePicker show the same week title in china.

Posted by "howie , YU (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570081#action_12570081 ] 

howie , YU commented on WICKET-1243:
------------------------------------

hi~ There are still some problem below.
--------------------------------------------------------------------------------------------------------------------------
if (Locale.SIMPLIFIED_CHINESE.equals(getLocale())){ 
            dfSymbols.setShortWeekdays(new String[] {"", "日", "一", "二", "三", "四", "五", "六"}); 
        }; 
--------------------------------------------------------------------------------------------------------------------------
The same problem in  Locale.TAIWAN & Locale.TRADITIONAL_CHINESE.

Can i overwrite "protected void localize(Map widgetProperties) " when "new DatePocker" myself?

--------------------------------------------------------------------------------------------------------------------------

> the DatePicker show the same week title in china.  
> ---------------------------------------------------
>
>                 Key: WICKET-1243
>                 URL: https://issues.apache.org/jira/browse/WICKET-1243
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3.0-beta4, 1.3.0-rc1, 1.3.0-rc2
>         Environment: in chinese(zh_CN) language
>            Reporter: Julian Ding
>            Assignee: Gerolf Seitz
>            Priority: Minor
>             Fix For: 1.3.1
>
>         Attachments: screenshot-1.jpg, screenshot-2.jpg
>
>
> the DatePicker show the same week title in china.  you can see it  here in the first pic.
> if  DatePicker can show as the last pic  is the best:
> i have correct this on my own version.  i will submit the solution tomorrow

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


[jira] Updated: (WICKET-1243) the DatePicker show the same week title in china.

Posted by "dzlei (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dzlei updated WICKET-1243:
--------------------------

    Attachment: screenshot-1.jpg

in this pic, we see the same week title

> the DatePicker show the same week title in china.  
> ---------------------------------------------------
>
>                 Key: WICKET-1243
>                 URL: https://issues.apache.org/jira/browse/WICKET-1243
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3.0-beta4, 1.3.0-rc1, 1.3.0-rc2
>         Environment: in chinese(zh_CN) language
>            Reporter: dzlei
>            Priority: Minor
>         Attachments: screenshot-1.jpg
>
>
> the DatePicker show the same week title in china.  you can see it  here in the first pic.
> if  DatePicker can show as the last pic  is the best:
> i have correct this on my own version.  i will submit the solution tomorrow

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


[jira] Assigned: (WICKET-1243) the DatePicker show the same week title in china.

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg reassigned WICKET-1243:
-------------------------------------

    Assignee: Gerolf Seitz

> the DatePicker show the same week title in china.  
> ---------------------------------------------------
>
>                 Key: WICKET-1243
>                 URL: https://issues.apache.org/jira/browse/WICKET-1243
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3.0-beta4, 1.3.0-rc1, 1.3.0-rc2
>         Environment: in chinese(zh_CN) language
>            Reporter: Julian Ding
>            Assignee: Gerolf Seitz
>            Priority: Minor
>             Fix For: 1.3.1
>
>         Attachments: screenshot-1.jpg, screenshot-2.jpg
>
>
> the DatePicker show the same week title in china.  you can see it  here in the first pic.
> if  DatePicker can show as the last pic  is the best:
> i have correct this on my own version.  i will submit the solution tomorrow

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


[jira] Commented: (WICKET-1243) the DatePicker show the same week title in china.

Posted by "Julian Ding (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556165#action_12556165 ] 

Julian Ding commented on WICKET-1243:
-------------------------------------

dfSymbols.setShortWeekdays(new String[] {"", "\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D"});

> the DatePicker show the same week title in china.  
> ---------------------------------------------------
>
>                 Key: WICKET-1243
>                 URL: https://issues.apache.org/jira/browse/WICKET-1243
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3.0-beta4, 1.3.0-rc1, 1.3.0-rc2
>         Environment: in chinese(zh_CN) language
>            Reporter: Julian Ding
>            Assignee: Gerolf Seitz
>            Priority: Minor
>             Fix For: 1.3.1
>
>         Attachments: screenshot-1.jpg, screenshot-2.jpg
>
>
> the DatePicker show the same week title in china.  you can see it  here in the first pic.
> if  DatePicker can show as the last pic  is the best:
> i have correct this on my own version.  i will submit the solution tomorrow

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


[jira] Commented: (WICKET-1243) the DatePicker show the same week title in china.

Posted by "Gerolf Seitz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570362#action_12570362 ] 

Gerolf Seitz commented on WICKET-1243:
--------------------------------------

can you provide a patch for TAIWAN and TRADITIONAL_CHINESE?
that would be great.

> the DatePicker show the same week title in china.  
> ---------------------------------------------------
>
>                 Key: WICKET-1243
>                 URL: https://issues.apache.org/jira/browse/WICKET-1243
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3.0-beta4, 1.3.0-rc1, 1.3.0-rc2
>         Environment: in chinese(zh_CN) language
>            Reporter: Julian Ding
>            Assignee: Gerolf Seitz
>            Priority: Minor
>             Fix For: 1.3.1
>
>         Attachments: screenshot-1.jpg, screenshot-2.jpg
>
>
> the DatePicker show the same week title in china.  you can see it  here in the first pic.
> if  DatePicker can show as the last pic  is the best:
> i have correct this on my own version.  i will submit the solution tomorrow

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


[jira] Updated: (WICKET-1243) the DatePicker show the same week title in china.

Posted by "dzlei (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dzlei updated WICKET-1243:
--------------------------

    Attachment: screenshot-2.jpg

when i fix it on my local version, it is good as this pic.

> the DatePicker show the same week title in china.  
> ---------------------------------------------------
>
>                 Key: WICKET-1243
>                 URL: https://issues.apache.org/jira/browse/WICKET-1243
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3.0-beta4, 1.3.0-rc1, 1.3.0-rc2
>         Environment: in chinese(zh_CN) language
>            Reporter: dzlei
>            Priority: Minor
>         Attachments: screenshot-1.jpg, screenshot-2.jpg
>
>
> the DatePicker show the same week title in china.  you can see it  here in the first pic.
> if  DatePicker can show as the last pic  is the best:
> i have correct this on my own version.  i will submit the solution tomorrow

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


[jira] Commented: (WICKET-1243) the DatePicker show the same week title in china.

Posted by "dzlei (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554589 ] 

dzlei commented on WICKET-1243:
-------------------------------

this is my way to fix it. 
at org.apache.wicket.extensions.yui.calendar.DatePicker.java  line463, 


    protected void localize(Map widgetProperties) {
        DateFormatSymbols dfSymbols = new DateFormatSymbols(getLocale());
        if (Locale.SIMPLIFIED_CHINESE.equals(getLocale())){
            dfSymbols.setShortWeekdays(new String[] {"", "日", "一", "二", "三", "四", "五", "六"});
        };
        setWidgetProperty(widgetProperties, "MONTHS_SHORT", filterEmpty(dfSymbols.getShortMonths()));
        setWidgetProperty(widgetProperties, "MONTHS_LONG", filterEmpty(dfSymbols.getMonths()));
        setWidgetProperty(widgetProperties, "WEEKDAYS_1CHAR", filterEmpty(substring(dfSymbols
                .getShortWeekdays(), 1)));
        setWidgetProperty(widgetProperties, "WEEKDAYS_SHORT", filterEmpty(substring(dfSymbols
                .getShortWeekdays(), 2)));
        setWidgetProperty(widgetProperties, "WEEKDAYS_MEDIUM", filterEmpty(dfSymbols
                .getShortWeekdays()));
        setWidgetProperty(widgetProperties, "WEEKDAYS_LONG", filterEmpty(dfSymbols.getWeekdays()));
    }

> the DatePicker show the same week title in china.  
> ---------------------------------------------------
>
>                 Key: WICKET-1243
>                 URL: https://issues.apache.org/jira/browse/WICKET-1243
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3.0-beta4, 1.3.0-rc1, 1.3.0-rc2
>         Environment: in chinese(zh_CN) language
>            Reporter: dzlei
>            Priority: Minor
>         Attachments: screenshot-1.jpg, screenshot-2.jpg
>
>
> the DatePicker show the same week title in china.  you can see it  here in the first pic.
> if  DatePicker can show as the last pic  is the best:
> i have correct this on my own version.  i will submit the solution tomorrow

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


[jira] Updated: (WICKET-1243) the DatePicker show the same week title in china.

Posted by "dzlei (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dzlei updated WICKET-1243:
--------------------------

       Priority: Minor  (was: Major)
    Description: 
the DatePicker show the same week title in china.  you can see it  here in the first pic.


if  DatePicker can show as the last pic  is the best:



i have correct this on my own version.  i will submit the solution tomorrow

  was:
the DatePicker show the same week title in china.  you can see it  here:
http://www.56x3.cn/wicket/bug.png


if  DatePicker can show as floww is the best:
http://www.56x3.cn/wicket/fix.png


i have correct this on my own version.  i will submit the solution tomorrow


> the DatePicker show the same week title in china.  
> ---------------------------------------------------
>
>                 Key: WICKET-1243
>                 URL: https://issues.apache.org/jira/browse/WICKET-1243
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3.0-beta4, 1.3.0-rc1, 1.3.0-rc2
>         Environment: in chinese(zh_CN) language
>            Reporter: dzlei
>            Priority: Minor
>
> the DatePicker show the same week title in china.  you can see it  here in the first pic.
> if  DatePicker can show as the last pic  is the best:
> i have correct this on my own version.  i will submit the solution tomorrow

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