myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1335504 - /myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/TobagoRenderKit.java
Date Tue, 08 May 2012 13:15:30 GMT
Author: lofwyr
Date: Tue May  8 13:15:30 2012
New Revision: 1335504

URL: http://svn.apache.org/viewvc?rev=1335504&view=rev
Log:
TOBAGO-1124: Problems with Mojarra 2.0 and higher
- changing the ResponseStateManager for that case

Modified:
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/TobagoRenderKit.java

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/TobagoRenderKit.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/TobagoRenderKit.java?rev=1335504&r1=1335503&r2=1335504&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/TobagoRenderKit.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/TobagoRenderKit.java
Tue May  8 13:15:30 2012
@@ -149,7 +149,8 @@ public class TobagoRenderKit extends Ren
 
   @Override
   public ResponseStateManager getResponseStateManager() {
-    if (FacesVersion.supports12() && FacesVersion.isMyfaces()) {
+    if (FacesVersion.supports12() && FacesVersion.isMyfaces()
+        || FacesVersion.supports20() && FacesVersion.isMojarra()) {
       return getHtmlBasicRenderKit().getResponseStateManager();
     } else {
       return responseStateManager;



Mime
View raw message