public class FlowState extends UIComponentBase
Usage: <sakaix:flowState bean="#{phaseAwareBean}" /> should be placed in the JSP file before any other bean references are made.
The bean must implement the PhaseAware interface and be serializable. Any non-transient fields in the bean will be saved and restored from this component.
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_TYPE |
| Constructor and Description |
|---|
FlowState() |
| Modifier and Type | Method and Description |
|---|---|
void |
encodeBegin(FacesContext context) |
PhaseAware |
getBean() |
String |
getFamily() |
void |
processDecodes(FacesContext context) |
void |
processRestoreState(FacesContext context,
Object state) |
void |
processUpdates(FacesContext context) |
void |
processValidators(FacesContext context) |
void |
restoreState(FacesContext context,
Object state) |
Object |
saveState(FacesContext context) |
addFacesListener, broadcast, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBindingpublic static final String COMPONENT_TYPE
public PhaseAware getBean()
public Object saveState(FacesContext context)
saveState in interface StateHoldersaveState in class UIComponentBasepublic void restoreState(FacesContext context, Object state)
restoreState in interface StateHolderrestoreState in class UIComponentBasepublic void processRestoreState(FacesContext context, Object state)
processRestoreState in class UIComponentBasepublic void processDecodes(FacesContext context)
processDecodes in class UIComponentBasepublic void processValidators(FacesContext context)
processValidators in class UIComponentBasepublic void processUpdates(FacesContext context)
processUpdates in class UIComponentBasepublic void encodeBegin(FacesContext context) throws IOException
encodeBegin in class UIComponentBaseIOExceptionpublic String getFamily()
getFamily in class UIComponentCopyright © 2003–2017 University of Michigan. All rights reserved.