|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.application.ViewHandler
com.esri.adf.web.faces.application.ADFViewHandler
The ADFViewHandler doubles up as both a ViewHandler as well a
PhaseListener. It's primary objective is to activate and passivate all the
WebContexts in the current view at the appropriate phases of the JSF request
lifecycle.
This class is registered in the faces-config.xml bundled in the ADF jars. Since it is registered as
both, a ViewHandler as well a PhaseListener, there will be 2 instances of this class
in any ADF application.
| Field Summary |
| Fields inherited from class javax.faces.application.ViewHandler |
CHARACTER_ENCODING_KEY, DEFAULT_SUFFIX, DEFAULT_SUFFIX_PARAM_NAME |
| Constructor Summary | |
ADFViewHandler()
This constructor is called when this class is instantiated as a PhaseListener. |
|
ADFViewHandler(javax.faces.application.ViewHandler base)
This constructor is called when this class is instantiated as a ViewHandler. |
|
| Method Summary | |
void |
afterPhase(javax.faces.event.PhaseEvent event)
|
void |
beforePhase(javax.faces.event.PhaseEvent event)
|
java.util.Locale |
calculateLocale(javax.faces.context.FacesContext fc)
|
java.lang.String |
calculateRenderKitId(javax.faces.context.FacesContext fc)
|
javax.faces.component.UIViewRoot |
createView(javax.faces.context.FacesContext fc,
java.lang.String viewId)
|
java.lang.String |
getActionURL(javax.faces.context.FacesContext fc,
java.lang.String viewId)
|
javax.faces.event.PhaseId |
getPhaseId()
|
java.lang.String |
getResourceURL(javax.faces.context.FacesContext fc,
java.lang.String viewId)
|
void |
renderView(javax.faces.context.FacesContext fc,
javax.faces.component.UIViewRoot root)
|
javax.faces.component.UIViewRoot |
restoreView(javax.faces.context.FacesContext fc,
java.lang.String viewId)
|
void |
writeState(javax.faces.context.FacesContext fc)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ADFViewHandler()
This constructor is called when this class is instantiated as a PhaseListener.
public ADFViewHandler(javax.faces.application.ViewHandler base)
This constructor is called when this class is instantiated as a ViewHandler.
This implementation follows the decorator pattern in that this ADFViewHandler decorates the
base ViewHandler.
base - the ViewHandler object that this ADFViewHandler decorates| Method Detail |
public javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext fc,
java.lang.String viewId)
public void renderView(javax.faces.context.FacesContext fc,
javax.faces.component.UIViewRoot root)
throws java.io.IOException,
javax.faces.FacesException
java.io.IOException
javax.faces.FacesExceptionpublic void afterPhase(javax.faces.event.PhaseEvent event)
afterPhase in interface javax.faces.event.PhaseListenerpublic void beforePhase(javax.faces.event.PhaseEvent event)
beforePhase in interface javax.faces.event.PhaseListenerpublic javax.faces.event.PhaseId getPhaseId()
getPhaseId in interface javax.faces.event.PhaseListener
public void writeState(javax.faces.context.FacesContext fc)
throws java.io.IOException
java.io.IOExceptionpublic java.util.Locale calculateLocale(javax.faces.context.FacesContext fc)
public java.lang.String calculateRenderKitId(javax.faces.context.FacesContext fc)
public javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext fc,
java.lang.String viewId)
public java.lang.String getActionURL(javax.faces.context.FacesContext fc,
java.lang.String viewId)
public java.lang.String getResourceURL(javax.faces.context.FacesContext fc,
java.lang.String viewId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||