myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1239173 - /myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/view/facelets/DefaultFaceletsStateManagementStrategy.java
Date Wed, 01 Feb 2012 15:35:36 GMT
Author: lu4242
Date: Wed Feb  1 15:35:36 2012
New Revision: 1239173

URL: http://svn.apache.org/viewvc?rev=1239173&view=rev
Log:
MYFACES-3455 [myfaces-2.1.6-SNAPSHOT] Using f:ajax within h:commandButton to dynamic switch
ui:include works not correct anymore

Modified:
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/view/facelets/DefaultFaceletsStateManagementStrategy.java

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/view/facelets/DefaultFaceletsStateManagementStrategy.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/view/facelets/DefaultFaceletsStateManagementStrategy.java?rev=1239173&r1=1239172&r2=1239173&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/view/facelets/DefaultFaceletsStateManagementStrategy.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/view/facelets/DefaultFaceletsStateManagementStrategy.java
Wed Feb  1 15:35:36 2012
@@ -1089,7 +1089,8 @@ public class DefaultFaceletsStateManagem
                 }
 
                 if (!isRefreshOnTransientBuildPreserveState() &&
-                    component.getAttributes().containsKey(ComponentSupport.MARK_CREATED))
+                    (component.getAttributes().containsKey(ComponentSupport.MARK_CREATED)
||
+                     component.getAttributes().containsKey(ComponentSupport.FACET_CREATED_UIPANEL_MARKER)))
                 {
                     // Components removed by facelets algorithm does not need to be registered
                     // unless preserve state mode is used, because PSS initial state is changed



Mime
View raw message