[
https://jira.jboss.org/jira/browse/JBIDE-5218?page=com.atlassian.jira.plu...
]
Denis Maliarevich commented on JBIDE-5218:
------------------------------------------
Making exact representation of localized f:view in VPE like in browser was too complex. In
addition there was a problem with determining the right JSF version from a tld file. So it
was decided to use unified solution for VPE:
1) For each f:view template its own locale will be used. Default locale will be
overridden.
2) If there is no locale specified for f:view --- default locale will be used.
3) If there is no locale specified for f:view and no default locale --- default message
bundle will be loaded.
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: Denis Maliarevich
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