incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r503845 - /incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java
Date Mon, 05 Feb 2007 19:56:52 GMT
Author: awiner
Date: Mon Feb  5 11:56:52 2007
New Revision: 503845

URL: http://svn.apache.org/viewvc?view=rev&rev=503845
Log:
Fix ClassCastException if transient children are directly added to a table

Modified:
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java?view=diff&rev=503845&r1=503844&r2=503845
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java
Mon Feb  5 11:56:52 2007
@@ -815,6 +815,9 @@
   protected void restoreStampState(FacesContext context, UIComponent stamp,
                                    Object stampState)
   {
+    if (stampState == Transient.TRUE)
+      return;
+    
     Object[] state = (Object[]) stampState;
     StampState.restoreStampState(context, stamp, state[0]);
 



Mime
View raw message