[ 
https://issues.apache.org/jira/browse/MYFACES-3899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14043895#comment-14043895
 ] 

Leonardo Uribe commented on MYFACES-3899:
-----------------------------------------

Anyway, f:loadBundle is legacy stuff. Instead, register the resource bundle 
into faces-config.xml and try again. Also, try put the property files in a 
folder as a package name. I still believe it is something related to the 
classloader, not related to MyFaces.

> Messages missing after reload with CACHE_EL_EXPRESSIONS = alwaysRecompile
> -------------------------------------------------------------------------
>
>                 Key: MYFACES-3899
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3899
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 2.2.3
>            Reporter: Matt Weaver
>            Assignee: Leonardo Uribe
>         Attachments: MessageTest.zip, build.xml, messagetest.war, 
> messagetest.war
>
>
> When CACHE_EL_EXPRESSIONS is set to alwaysRecompile in the web.xml, after 
> reloading sometimes all values loaded from a resource bundle come in blank.  
> For example, in a page like below the first time everything looks fine, if 
> you reload the page all you see is a blank page (actually everything is 
> working except the outputText):
> {code:xml}
> <!DOCTYPE html>
> <html xmlns="http://www.w3.org/1999/xhtml";
>       xmlns:f="http://java.sun.com/jsf/core";
>       xmlns:h="http://java.sun.com/jsf/html";>
>       
>       
>       <f:view>
>               <f:loadBundle basename="Messages" var="msg" />
>               
>               <h:body>
>       
>                       <h1><h:outputText value="#{msg.hello}" /></h1>
>               
>               </h:body>
>       </f:view>
>       
> </html>
> {code}
> I will attach a full example project.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to