myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Weaver (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-3899) Messages missing after reload with CACHE_EL_EXPRESSIONS = alwaysRecompile
Date Wed, 25 Jun 2014 14:21:25 GMT

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

Matt Weaver commented on MYFACES-3899:
--------------------------------------

Thanks for checking.  I do not think it is an IDE issue as we have the same problem with production
builds.  I created a .war file and am still seeing the same issue, I will attach it and the
build.xml I used to create it.

> 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
>
>
> 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)

Mime
View raw message