myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeanne Waldman (JIRA)" <...@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)
Date Tue, 08 Sep 2009 22:41:57 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752799#action_12752799
] 

Jeanne Waldman commented on TRINIDAD-65:
----------------------------------------

I retested and it appears to work.
I recompiled Trinidad against 1.6 by changing in my settings.xml file the jdk5.home to point
to 1.6
<jdk5.home>C:\Java\jdk1.6.0_12</jdk5.home>

I did a mvn clean install -Djsf=ri
I ran Trinidad Trunk (1.2.13-SNAPSHOT) and ran the client converter and validator test demo,
and it worked fine with no javascript errors.

I also compiled 1.2.12.1, which ADF Rich Client uses, and I ran the ADF Rich Client demo and
its client converter and validator demo and it works fine, too, with no javascript errors.


> 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 Übelacker
>            Assignee: Matthias Weßendorf
>             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.getFacesMessage is no Function".
> The reason for this problem is, that the JSLocaleElementsGenerator  of the maven-i18n-plugin
does not work with Java 6.
> The JSLocaleElementsGenerator  uses some java resource bundles to generate the LocaleElements
files. These resource bundles are part of the rt.jar file until java 5. With java 6 these
bundles doesn't exist anymore, are hard coded and can be accessed 	through sun.util.resources.LocaleData
(not on the public API).

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


Mime
View raw message