myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Marinschek (JIRA)" <>
Subject [jira] Commented: (MYFACES-589) inputCalendar localized month names problem
Date Fri, 23 Dec 2005 07:57:34 GMT
    [ ] 

Martin Marinschek commented on MYFACES-589:

This should be fixed in the head-version.



> inputCalendar localized month names problem
> -------------------------------------------
>          Key: MYFACES-589
>          URL:
>      Project: MyFaces
>         Type: Bug
>   Components: Tomahawk, Implementation
>     Reporter: Tomas Havelka
>     Assignee: Martin Marinschek
>      Fix For: Nightly

> When popup calendar renders text like "Today is <date>", if date comes from localized
month names array 'jscalendarMonthName', so javascript goes render something like ... + jscalendarMonthName[jscalendarMonthNow].substring(0,3)
+ ... as the month name, but it works just in non diacritic languages such as english, but
when some other non-english character apperas in month name it goes wrong output because of
character replacing by its appropriate entity (for example &#225; for character รก from
czech language) and js substring function. 
> The easiest solution is to remove substring function from javascript.
> Another one is to add parameter such as popupTodayFormat similar to popupDateFormat to
format this text manually and let javascript just to write this formatted string with prefix
text given by popupTodayString parameter.
> With regards 
> Tom 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message