You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2012/11/03 00:46:53 UTC

svn commit: r1405216 - /myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/UIComponentBase.java

Author: lu4242
Date: Fri Nov  2 23:46:52 2012
New Revision: 1405216

URL: http://svn.apache.org/viewvc?rev=1405216&view=rev
Log:
MYFACES-3619 Define a special property to specify when a component is created by facelets ( oam.vf.addedByHandler ) (fix bug in state saving)

Modified:
    myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/UIComponentBase.java

Modified: myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/UIComponentBase.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/UIComponentBase.java?rev=1405216&r1=1405215&r2=1405216&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/UIComponentBase.java (original)
+++ myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/UIComponentBase.java Fri Nov  2 23:46:52 2012
@@ -2043,7 +2043,7 @@ public abstract class UIComponentBase ex
         // rendererType needs to be restored before SystemEventListener,
         // otherwise UIComponent.getCurrentComponent(context).getRenderer(context)
         // will not work correctly
-        if (values.length == 10)
+        if (values.length == 11)
         {
             //Full restore
             restoreFullBehaviorsMap(context, values[2]);