You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2009/10/30 10:43:13 UTC

svn commit: r831240 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIViewRoot.java

Author: lofwyr
Date: Fri Oct 30 09:43:12 2009
New Revision: 831240

URL: http://svn.apache.org/viewvc?rev=831240&view=rev
Log:
TOBAGO-811: Doublicate Id Excepiton with RI 1.1
 - logical fix

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIViewRoot.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIViewRoot.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIViewRoot.java?rev=831240&r1=831239&r2=831240&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIViewRoot.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIViewRoot.java Fri Oct 30 09:43:12 2009
@@ -89,7 +89,7 @@
     }
     state[0] = super.saveState(facesContext);
     state[1] = rendererCacheKey;
-    if (FacesVersion.supports12()) {
+    if (!FacesVersion.supports12()) {
       state[2] = nextUniqueId;
     }
     return state;