myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bsulli...@apache.org
Subject svn commit: r1066326 - /myfaces/trinidad/branches/1.2.12.3.3-branch/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java
Date Wed, 02 Feb 2011 04:48:29 GMT
Author: bsullivan
Date: Wed Feb  2 04:48:29 2011
New Revision: 1066326

URL: http://svn.apache.org/viewvc?rev=1066326&view=rev
Log:
TRINIDAD-2024 UIXCollection holding only to application data

Null out state references during state saving

Modified:
    myfaces/trinidad/branches/1.2.12.3.3-branch/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java

Modified: myfaces/trinidad/branches/1.2.12.3.3-branch/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/1.2.12.3.3-branch/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java?rev=1066326&r1=1066325&r2=1066326&view=diff
==============================================================================
--- myfaces/trinidad/branches/1.2.12.3.3-branch/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java
(original)
+++ myfaces/trinidad/branches/1.2.12.3.3-branch/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java
Wed Feb  2 04:48:29 2011
@@ -267,6 +267,10 @@ public abstract class UIXCollection exte
     {
       stampState = iState._stampState;
       clientKeyMgr = iState._clientKeyMgr;
+      
+      // Make sure that we are not holding on to any application data in our state
+      iState._value = null;
+      iState._model= null;
     }
     else
     {



Mime
View raw message