[ 
https://jira.jboss.org/browse/RF-9603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Markhel resolved RF-9603.
--------------------------------

    Resolution: Done


> calendar: locales can't be switched
> -----------------------------------
>
>                 Key: RF-9603
>                 URL: https://jira.jboss.org/browse/RF-9603
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>            Reporter: Ilya Shaikovsky
>            Assignee: Andrey Markhel
>             Fix For: 4.0.0.Milestone4
>
>
> addLocale js method currently encoded in next way:
> RichFaces.ui.Calendar.addLocale({"ISO3Country":"RUS","ISO3Language":"rus","country":"RU","displayCountry":"\u0420\u043E\u0441\u0441\u0438\u044F","displayLanguage":"\u0440\u0443\u0441\u0441\u043A\u0438\u0439","displayName":"\u0440\u0443\u0441\u0441\u043A\u0438\u0439
>  
> (\u0420\u043E\u0441\u0441\u0438\u044F)","displayVariant":"","language":"ru","variant":""}
> should be:
> Richfaces.Calendar.addLocale('en_US', 
> {'weekDayLabels':['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday']
>  ,'weekDayLabelsShort':['Sun','Mon','Tue','Wed','Thu','Fri','Sat'] 
> ,'monthLabels':['January','February','March','April','May','June','July','August','September','October','November','December']
>  
> ,'monthLabelsShort':['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']
>  ,'minDaysInFirstWeek':1,'firstWeekDay':0} );
> currently method not accepts name of locale so it evaluated wrong.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to