Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0.0-incubating-plugins, 1.0.0-incubating-core, 1.0.1-plugins
-
None
-
Windows XP, Java 6
Description
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).