You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bs...@apache.org on 2010/10/18 02:57:23 UTC

svn commit: r1023610 - /myfaces/trinidad/branches/trinidad-1.2.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/BaseChangeManager.java

Author: bsullivan
Date: Mon Oct 18 00:57:23 2010
New Revision: 1023610

URL: http://svn.apache.org/viewvc?rev=1023610&view=rev
Log:
Trinidad-1935 Fix to only ignore cases where content is only inside of the UIXIterator and not its subclasses so that we avoid problems with not persisting changes to the unstamped portions of columns

Modified:
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/BaseChangeManager.java

Modified: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/BaseChangeManager.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/BaseChangeManager.java?rev=1023610&r1=1023609&r2=1023610&view=diff
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/BaseChangeManager.java (original)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/BaseChangeManager.java Mon Oct 18 00:57:23 2010
@@ -55,7 +55,7 @@ abstract class BaseChangeManager extends
     UIComponent root = facesContext.getViewRoot();
     while (parent != root) 
     {
-      if (parent instanceof UIXIterator) 
+      if (parent.getClass() == UIXIterator.class) 
       {
         _LOG.info("DONT_PERSIST_STAMPED_COMPONENT_INSIDE_ITERATOR");      
         return;