org.apache.myfaces.renderkit.html
Class HtmlResponseStateManager

java.lang.Object
  extended by javax.faces.render.ResponseStateManager
      extended by org.apache.myfaces.renderkit.MyfacesResponseStateManager
          extended by org.apache.myfaces.renderkit.html.HtmlResponseStateManager

public class HtmlResponseStateManager
extends MyfacesResponseStateManager

Version:
$Revision: 777351 $ $Date: 2009-05-21 21:11:24 -0500 (Thu, 21 May 2009) $
Author:
Manfred Geiler (latest modification by $Author: lu4242 $)

Field Summary
static String STANDARD_STATE_SAVING_PARAM
           
 
Constructor Summary
HtmlResponseStateManager()
           
 
Method Summary
 Object getComponentStateToRestore(FacesContext facesContext)
           
 Object getTreeStructureToRestore(FacesContext facesContext, String viewId)
           
 void writeState(FacesContext facescontext, StateManager.SerializedView serializedview)
          Writes hidden form inputs with the state info to be saved.
 void writeStateAsUrlParams(FacesContext facescontext, StateManager.SerializedView serializedview)
          MyFaces extension
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STANDARD_STATE_SAVING_PARAM

public static final String STANDARD_STATE_SAVING_PARAM
See Also:
Constant Field Values
Constructor Detail

HtmlResponseStateManager

public HtmlResponseStateManager()
Method Detail

writeState

public void writeState(FacesContext facescontext,
                       StateManager.SerializedView serializedview)
                throws IOException
Description copied from class: MyfacesResponseStateManager
Writes hidden form inputs with the state info to be saved. StateManager delegates calls to StateManager.writeState(javax.faces.context.FacesContext, javax.faces.application.StateManager.SerializedView) to this method.

Specified by:
writeState in class MyfacesResponseStateManager
Throws:
IOException

writeStateAsUrlParams

public void writeStateAsUrlParams(FacesContext facescontext,
                                  StateManager.SerializedView serializedview)
                           throws IOException
MyFaces extension

Specified by:
writeStateAsUrlParams in class MyfacesResponseStateManager
Parameters:
facescontext -
serializedview -
Throws:
IOException

getTreeStructureToRestore

public Object getTreeStructureToRestore(FacesContext facesContext,
                                        String viewId)
Specified by:
getTreeStructureToRestore in class ResponseStateManager

getComponentStateToRestore

public Object getComponentStateToRestore(FacesContext facesContext)
Specified by:
getComponentStateToRestore in class ResponseStateManager


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.