myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1405216 - /myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/UIComponentBase.java
Date Fri, 02 Nov 2012 23:46:53 GMT
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]);



Mime
View raw message