|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectStateManagerImpl
com.sdm.quasar.client.jsf.application.dialog.SunRIStateManager
This class takes care of creating, storing and restoring views (javax.faces.component.UIViewRoot)
of dialog instances. It utilizes the dialogs' instance-id to store different view-states for equal
view-files (jsp/faces). This is necessary because otherwise all dialog instances (Java objects) would
use the same view being stored by the default JSF com.sdm.quasar.client.comp.dlgstate.StateManager
as it doesn't know anything about dialog-instances.
This class directly extends com.sun.faces.application.StateManagerImpl,
which is the actual state-manager implementation which is provided by Sun.
Copyright (c) 2005
software design & management AG
All rights reserved.
This file is made available under the terms of the license
agreement that accompanies this distribution.
$Revision:$, last modified $Date: $ by $Author: $
| Field Summary | |
protected StateManager |
_base
The standard ViewHandler |
| Constructor Summary | |
SunRIStateManager(StateManager orig)
Constructor. |
|
| Method Summary | |
protected static java.lang.String |
getTaggedViewId()
Returns the view-identifier. |
UIViewRoot |
restoreView(FacesContext context,
java.lang.String viewId,
java.lang.String renderKitId)
Writes the state for the view. |
SerializedView |
saveSerializedView(FacesContext context)
Serializes the date of the faces-context's current view. |
void |
writeState(FacesContext context,
SerializedView state)
Writes the state for the view. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected StateManager _base
ViewHandler
| Constructor Detail |
public SunRIStateManager(StateManager orig)
orig - the standard ViewHandler| Method Detail |
public void writeState(FacesContext context,
SerializedView state)
throws java.io.IOException
context - state -
java.io.IOExceptionjavax.faces.application.StateManager#writeState(javax.faces.context.FacesContext, javax.faces.application.StateManager.SerializedView)
public UIViewRoot restoreView(FacesContext context,
java.lang.String viewId,
java.lang.String renderKitId)
context - viewId - renderKitId - javax.faces.application.StateManager#restoreView(javax.faces.context.FacesContext, java.lang.String, java.lang.String)
public SerializedView saveSerializedView(FacesContext context)
throws java.lang.IllegalStateException
context -
java.lang.IllegalStateExceptionjavax.faces.application.StateManager#saveSerializedView(javax.faces.context.FacesContext)protected static java.lang.String getTaggedViewId()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||