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 2013/10/21 15:43:34 UTC
svn commit: r1534150 -
/myfaces/tobago/branches/tobago-1.5.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/ajax/AjaxResponseRenderer.java
Author: lofwyr
Date: Mon Oct 21 13:43:33 2013
New Revision: 1534150
URL: http://svn.apache.org/r1534150
Log:
TOBAGO-1330: Not using deprecated API for saving view state
Modified:
myfaces/tobago/branches/tobago-1.5.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/ajax/AjaxResponseRenderer.java
Modified: myfaces/tobago/branches/tobago-1.5.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/ajax/AjaxResponseRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.5.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/ajax/AjaxResponseRenderer.java?rev=1534150&r1=1534149&r2=1534150&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.5.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/ajax/AjaxResponseRenderer.java (original)
+++ myfaces/tobago/branches/tobago-1.5.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/ajax/AjaxResponseRenderer.java Mon Oct 21 13:43:33 2013
@@ -141,8 +141,8 @@ public class AjaxResponseRenderer {
facesContext.setResponseWriter(stateWriter);
StateManager stateManager = facesContext.getApplication().getStateManager();
- StateManager.SerializedView serializedView = stateManager.saveSerializedView(facesContext);
- stateManager.writeState(facesContext, serializedView);
+ Object view = stateManager.saveView(facesContext);
+ stateManager.writeState(facesContext, view);
}
private static void ensureContentTypeHeader(FacesContext facesContext, String charset, String contentType) {