Matt Weaver created MYFACES-3899:
------------------------------------

             Summary: 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
         Attachments: MessageTest.zip

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