myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r767465 - /myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/ppr/resource/ppr.js
Date Wed, 22 Apr 2009 11:01:18 GMT
Author: bommel
Date: Wed Apr 22 11:01:17 2009
New Revision: 767465

URL: http://svn.apache.org/viewvc?rev=767465&view=rev
Log:
TOMAHAWK-1413 
fix for Trinidad CoreResponseStateManager.java only writes name see r594297

Modified:
    myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/ppr/resource/ppr.js

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/ppr/resource/ppr.js
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/ppr/resource/ppr.js?rev=767465&r1=767464&r2=767465&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/ppr/resource/ppr.js
(original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/ppr/resource/ppr.js
Wed Apr 22 11:01:17 2009
@@ -399,7 +399,10 @@
             if (stateUpdate)
             {
                 var stateUpdateId = stateUpdate.getAttribute('id');
-
+                // fix for Trinidad CoreResponseStateManager.java only writes name see r594297
+                if (stateUpdateId == undefined) {
+				    stateUpdateId = stateUpdate.getAttribute('name');
+				}
                 if (stateUpdateId == 'javax.faces.ViewState')
                 {
                     var formArray = document.forms;



Mime
View raw message