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

View: New views
15 Messages — Rating Filter:   Alert me  

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

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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] Updated: (TRINIDAD-65) The JS e.getFacesMessage method does not work when trinidad was compiled with Java 6 (JSLocaleElementsGenerator does not work with Java6)

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ 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] Updated: (TRINIDAD-65) The JS e.getFacesMessage method does not work when trinidad was compiled with Java 6 (JSLocaleElementsGenerator does not work with Java6)

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ 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] Updated: (TRINIDAD-65) The JS e.getFacesMessage method does not work when trinidad was compiled with Java 6 (JSLocaleElementsGenerator does not work with Java6)

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ 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] Commented: (TRINIDAD-65) The JS e.getFacesMessage method does not work when trinidad was compiled with Java 6 (JSLocaleElementsGenerator does not work with Java6)

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ 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] Commented: (TRINIDAD-65) The JS e.getFacesMessage method does not work when trinidad was compiled with Java 6 (JSLocaleElementsGenerator does not work with Java6)

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ 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] Updated: (TRINIDAD-65) The JS e.getFacesMessage method does not work when trinidad was compiled with Java 6 (JSLocaleElementsGenerator does not work with Java6)

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ 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] Commented: (TRINIDAD-65) The JS e.getFacesMessage method does not work when trinidad was compiled with Java 6 (JSLocaleElementsGenerator does not work with Java6)

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ 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] Commented: (TRINIDAD-65) The JS e.getFacesMessage method does not work when trinidad was compiled with Java 6 (JSLocaleElementsGenerator does not work with Java6)

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

LightInTheBox - Buy quality products at wholesale price