You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "David Übelacker (JIRA)" <de...@myfaces.apache.org> on 2007/06/18 15:00:32 UTC

[jira] Created: (TRINIDAD-65) The JS e.getFacesMessage method does not work when trinidad was compiled with Java 6 (JSLocaleElementsGenerator does not work with Java6)

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.1-plugins, 1.0.0-incubating-core, 1.0.0-incubating-plugins
         Environment: Windows XP, Java 6
            Reporter: David Übelacker


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.


[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)

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621454#action_12621454 ] 

Matthias Weßendorf commented on TRINIDAD-65:
--------------------------------------------

I cleared all my browser cache in FF2 (IE is worse than FF, in terms of cache)
I compiled our 1.2.9.1 branch w/ JAVA 6
deployed the demo in Tomcat (running on JAVA6) => fine
fine means: I tried your test-case. I entered "foo" and clicked a command button. I saw no JS error and the message was shown.
set JAVA_HOME = ...\java5
started tomcat again (now running on JAVA5) => fine (same meaning as before)

both "tests" were done with the previously built Trinidad Demo (using Java6).

> 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.


[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)

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513300 ] 

Matthias Weßendorf commented on TRINIDAD-65:
--------------------------------------------

Hi David,

I noticed that your fix uses "getCurrencyNames" on the hidden SUN API.
I noticed that DEM / DM is used for German currencies,

I did a i18n-fix for currency today, that uses "standard" api.
Any thought ?

see:
https://issues.apache.org/jira/browse/TRINIDAD-107

> 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
>         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.


[jira] Updated: (TRINIDAD-65) The JS e.getFacesMessage method does not work when trinidad was compiled with Java 6 (JSLocaleElementsGenerator does not work with Java6)

Posted by "David Übelacker (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Übelacker updated TRINIDAD-65:
------------------------------------

    Status: Patch Available  (was: Open)

> 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
>
> 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.


[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)

Posted by "Stephen Friedrich (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621449#action_12621449 ] 

Stephen Friedrich commented on TRINIDAD-65:
-------------------------------------------

Not fixed in 1.2.9

Using this inputText and typing "foo" (or any other non-number) or any number outside the range results in the JavaScript exception. 
No validation message is displayed:

<tr:inputText id="locationX" columns="4" value="#{selectedCompany.locationX}" required="true" maximumLength="4">
   <tr:validateLongRange minimum="0" maximum="999"/>
</tr:inputText>

Running on Tomcat with JDK 1.5.0_16

> 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.


[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)

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621468#action_12621468 ] 

Matthias Weßendorf commented on TRINIDAD-65:
--------------------------------------------

I checked the META-INF/MANIFEST.MF:
Build-Jdk: 1.5.0_11

and yes, they should work. 

> 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.


[jira] Reopened: (TRINIDAD-65) The JS e.getFacesMessage method does not work when trinidad was compiled with Java 6 (JSLocaleElementsGenerator does not work with Java6)

Posted by "Jeanne Waldman (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeanne Waldman reopened TRINIDAD-65:
------------------------------------


reopening since our tests as well show this still does not work.

> 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.


[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)

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608485#action_12608485 ] 

Matthias Weßendorf commented on TRINIDAD-65:
--------------------------------------------

ok,
the patch will allow us to run in the following scenario.
Java5 and java5 (run and build time)
java6 and java6 (run and build time)

will do the commit soon...

> 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
>         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.


[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)

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621459#action_12621459 ] 

Matthias Weßendorf commented on TRINIDAD-65:
--------------------------------------------

tried now the java5 + java5 combination. Meaning building Trinidad (and demo) 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 Ü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.


[jira] Updated: (TRINIDAD-65) The JS e.getFacesMessage method does not work when trinidad was compiled with Java 6 (JSLocaleElementsGenerator does not work with Java6)

Posted by "David Übelacker (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Übelacker updated TRINIDAD-65:
------------------------------------

    Status: Open  (was: Patch Available)

> 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
>
> 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.


[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)

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553711 ] 

Matthias Weßendorf commented on TRINIDAD-65:
--------------------------------------------

I just used the Trinidad 1.0.5-SNAPSHOT from MyFaces's continuum server.
I tried the client validator/converter examples.
They are working;

The continuum server is running on JDK 1.6 (if the log's aren't lying).

Can you guys try @home and check as well ?

-Matthias

> 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
>         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.


[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)

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553913 ] 

Matthias Weßendorf commented on TRINIDAD-65:
--------------------------------------------

nevermind;
I noticed that the vmbuild was running w/ JDK6, but the zone is running on 1.5.x

> 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
>         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.


[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)

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615164#action_12615164 ] 

Matthias Weßendorf commented on TRINIDAD-65:
--------------------------------------------

I committed the patch to the plugins trunk.
Next step will be running a new release and use that one.

> 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
>         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.


[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)

Posted by "Stephen Friedrich (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621467#action_12621467 ] 

Stephen Friedrich commented on TRINIDAD-65:
-------------------------------------------

Thanks Matthias for the quick answer.

Hm, rereading this: 
"Java5 and java5 (run and build time)
java6 and java6 (run and build time) "
What Java version is used to build Trinidad 1.2.9 distribution?
I just used the jar files from the trinidad-1.2.9-dist.zip.
Are these supposed to work on JD 5, or do I need to rebuild Trinidad with JDK 5 myself?

If the jar files should work, I'll try and create an example app - maybe it's once again some difference in configuration.

> 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.


[jira] Updated: (TRINIDAD-65) The JS e.getFacesMessage method does not work when trinidad was compiled with Java 6 (JSLocaleElementsGenerator does not work with Java6)

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf updated TRINIDAD-65:
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.9-core
                   1.0.9-core
           Status: Resolved  (was: Patch Available)

> 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.


[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)

Posted by "Jeanne Waldman (JIRA)" <de...@myfaces.apache.org>.
    [ 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.


[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)

Posted by "Ray Clough (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638440#action_12638440 ] 

Ray Clough commented on TRINIDAD-65:
------------------------------------

Sorry to tell you this, since you seem to believe that this issue is resolved, but it is absolutely NOT fixed in Trinidad 1.2.9.  I'm compiling with jdk 1.6.0_07, running on Tomcat 6.0.18 which is running under the same JDK, and I get the error.  When I turn off client-side validation, the error goes away.  The page generating the error does not use validation at all, so the only way I can get it to run is to turn off the client-side validation completely.

Thanks,
Ray Clough
ray@allthisisthat.com


> 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.


[jira] Updated: (TRINIDAD-65) The JS e.getFacesMessage method does not work when trinidad was compiled with Java 6 (JSLocaleElementsGenerator does not work with Java6)

Posted by "David Übelacker (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Übelacker updated TRINIDAD-65:
------------------------------------

    Status: Patch Available  (was: Open)

> 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
>         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.


[jira] Resolved: (TRINIDAD-65) The JS e.getFacesMessage method does not work when trinidad was compiled with Java 6 (JSLocaleElementsGenerator does not work with Java6)

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf resolved TRINIDAD-65.
----------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.2.9-core)
                    1.2.12-core

closing it as I noticed the same as JEanne.

> 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.2.12-core, 1.0.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.