Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 80591 invoked from network); 11 Aug 2008 14:28:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Aug 2008 14:28:36 -0000 Received: (qmail 21568 invoked by uid 500); 11 Aug 2008 14:28:34 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 21523 invoked by uid 500); 11 Aug 2008 14:28:34 -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 21512 invoked by uid 99); 11 Aug 2008 14:28:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2008 07:28:34 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2008 14:27:46 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 919A0234C1A6 for ; Mon, 11 Aug 2008 07:27:44 -0700 (PDT) Message-ID: <1196261133.1218464864595.JavaMail.jira@brutus> Date: Mon, 11 Aug 2008 07:27:44 -0700 (PDT) From: =?utf-8?Q?Matthias_We=C3=9Fendorf_=28JIRA=29?= To: dev@myfaces.apache.org Subject: [jira] Commented: (TRINIDAD-65) The JS e.getFacesMessage method does not work when trinidad was compiled with Java 6 (JSLocaleElementsGenerator does not work with Java6) In-Reply-To: <24856780.1182171632820.JavaMail.jira@brutus> 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 [ https://issues.apache.org/jira/browse/TRINIDAD-65?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D126= 21459#action_12621459 ]=20 Matthias We=C3=9Fendorf commented on TRINIDAD-65: -------------------------------------------- tried now the java5 + java5 combination. Meaning building Trinidad (and dem= o) with Java 5 + running the app in a tomcat, ontop of a JDK5 worked fine (meaning I don't saw any JS error). BTW. my Tomcat is an older 6 version. > The JS e.getFacesMessage method does not work when trinidad was compiled = with Java 6 (JSLocaleElementsGenerator does not work with Java6) > -------------------------------------------------------------------------= ---------------------------------------------------------------- > > Key: TRINIDAD-65 > URL: https://issues.apache.org/jira/browse/TRINIDAD-65 > Project: MyFaces Trinidad > Issue Type: Bug > Components: Build > Affects Versions: 1.0.0-incubating-plugins, 1.0.0-incubating-core, 1.0= .1-plugins > Environment: Windows XP, Java 6 > Reporter: David =C3=9Cbelacker > Assignee: Matthias We=C3=9Fendorf > Fix For: 1.0.9-core, 1.2.9-core > > Attachments: JSLocaleElementsGenerator.patch, LocaleDataResolver.= java > > > If trinidad was compiled with Java 6, you get the JS error "e.getFacesMes= sage is no Function". > The reason for this problem is, that the JSLocaleElementsGenerator of th= e maven-i18n-plugin does not work with Java 6. > The JSLocaleElementsGenerator uses some java resource bundles to generat= e the LocaleElements files. These resource bundles are part of the rt.jar f= ile until java 5. With java 6 these bundles doesn't exist anymore, are hard= coded and can be accessed =09through sun.util.resources.LocaleData (not on= the public API). --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.