Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 86575 invoked from network); 23 Dec 2005 07:58:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Dec 2005 07:58:00 -0000 Received: (qmail 61595 invoked by uid 500); 23 Dec 2005 07:57:57 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 61552 invoked by uid 500); 23 Dec 2005 07:57:57 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 61541 invoked by uid 99); 23 Dec 2005 07:57:57 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Dec 2005 23:57:55 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 21A6E126 for ; Fri, 23 Dec 2005 08:57:34 +0100 (CET) Message-ID: <46651402.1135324654134.JavaMail.jira@ajax.apache.org> Date: Fri, 23 Dec 2005 08:57:34 +0100 (CET) From: "Martin Marinschek (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (MYFACES-589) inputCalendar localized month names problem In-Reply-To: <1267749701.1127206587989.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/MYFACES-589?page=3Dcomments#acti= on_12361176 ]=20 Martin Marinschek commented on MYFACES-589: ------------------------------------------- This should be fixed in the head-version. regards, Martin > inputCalendar localized month names problem > ------------------------------------------- > > Key: MYFACES-589 > URL: http://issues.apache.org/jira/browse/MYFACES-589 > Project: MyFaces > Type: Bug > Components: Tomahawk, Implementation > Reporter: Tomas Havelka > Assignee: Martin Marinschek > Fix For: Nightly > > When popup calendar renders text like "Today is ", if date comes fr= om localized month names array 'jscalendarMonthName', so javascript goes re= nder 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 mont= h name it goes wrong output because of character replacing by its appropria= te entity (for example á for character =C3=A1 from czech language) and= js substring function.=20 > The easiest solution is to remove substring function from javascript. > Another one is to add parameter such as popupTodayFormat similar to popup= DateFormat to format this text manually and let javascript just to write th= is formatted string with prefix text given by popupTodayString parameter. > With regards=20 > Tom=20 --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira