[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5218) Attribure locale isn't supported in f:view

Denis Maliarevich (JIRA) jira-events at lists.jboss.org
Wed Feb 17 06:32:10 EST 2010


    [ https://jira.jboss.org/jira/browse/JBIDE-5218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12514911#action_12514911 ] 

Denis Maliarevich commented on JBIDE-5218:
------------------------------------------

There are some changes to ResourceBundle class in Java 6:
ResourceBundle.Control class was added, Chaching mechanism was added.
Thus the search strategy could have been changed.

> 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.jsf.vpe.jsf.test/resources/i18nTest
> 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

        


More information about the jbosstools-issues mailing list