[
https://jira.jboss.org/jira/browse/JBIDE-5218?page=com.atlassian.jira.plu...
]
Denis Maliarevich commented on JBIDE-5218:
------------------------------------------
Be careful with java version you use to launch eclipse.
Java 1.5 and 1.6 loads different locales for some cases.
For example if there is
1) bundle for "en_US" locale
2) no "en" bundle
3) default JVM property "java.country" is "US"
4) "java.language" is "en"
5) and f:view's locale attribute is set to "en"
then JVM 1.5 loads default bundle and on the other hand JVM 1.6 loads en_US bundle.
Attribure locale isn't supported in f:view
------------------------------------------
Key: JBIDE-5218
URL:
https://jira.jboss.org/jira/browse/JBIDE-5218
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Visual Page Editor Templates
Affects Versions: 3.1.0.M4
Reporter: Maxim Areshkau
Assignee: Anton Klimkovich
Priority: Minor
Fix For: 3.1.0.CR2
attribute locale isn't supported for f:view isn't supported in vpe.
Test case
1) open page in VPE jsfDefaultLocale.jsp from
https://svn.jboss.org/repos/jbosstools/trunk/jsf/tests/org.jboss.tools.js...
2) remove default locale from faces-config.xml
3) refresh page in vpe and view it. It will english.
4) add to f:view locale="de", page still on english.
ASSERT page should be on German, but it on english
5) set locale="#{bean.locale}"
6) add to EL expresions value bean.locale=de
ASSERT messages should be on German, but they on English
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira