myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1071870 - /myfaces/core/trunk/api/src/main/java/javax/faces/component/UIViewRoot.java
Date Fri, 18 Feb 2011 03:00:19 GMT
Author: lu4242
Date: Fri Feb 18 03:00:18 2011
New Revision: 1071870

URL: http://svn.apache.org/viewvc?rev=1071870&view=rev
Log:
MYFACES-3047 Component resources disappear after page reload

Modified:
    myfaces/core/trunk/api/src/main/java/javax/faces/component/UIViewRoot.java

Modified: myfaces/core/trunk/api/src/main/java/javax/faces/component/UIViewRoot.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/component/UIViewRoot.java?rev=1071870&r1=1071869&r2=1071870&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/component/UIViewRoot.java (original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/component/UIViewRoot.java Fri Feb 18
03:00:18 2011
@@ -567,7 +567,11 @@ public class UIViewRoot extends UICompon
             // From jsr-314-open list it was made clear this facet is transient,
             // because all component resources does not change its inner state between
             // requests
-            facet.setTransient(true);
+            //
+            // MYFACES-3047 It was found that resources added using ResourceDependency annotation
+            // requires to be saved and restored, so it is not possible to mark this facets
+            // as transient. The previous statement is true only for PSS.
+            //facet.setTransient(true);
 
             // Add the facet to the facets Map using target as the key
             getFacets().put(target, facet);



Mime
View raw message