org.apache.shale.view.faces
Class ShaleViewRoot

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIViewRoot
              extended by org.apache.shale.view.faces.ShaleViewRoot
All Implemented Interfaces:
javax.faces.component.StateHolder

public class ShaleViewRoot
extends javax.faces.component.UIViewRoot

Extending the UIViewRoot to provide specialized exception handling needed for the Shale view controller to enforce the contracts of the callbacks.


Field Summary
 
Fields inherited from class javax.faces.component.UIViewRoot
COMPONENT_FAMILY, COMPONENT_TYPE, UNIQUE_ID_PREFIX
 
Constructor Summary
ShaleViewRoot()
           
 
Method Summary
 void processApplication(javax.faces.context.FacesContext context)
          Override to catch exceptions raised by the action listeners in the invoke application phase.
 void processDecodes(javax.faces.context.FacesContext context)
          Override to catch and handle exceptions with immediate commands and value change listeners in the apply request values phase.
 void processUpdates(javax.faces.context.FacesContext context)
          Override to catch and handle exceptions raised in the update model phase.
 void processValidators(javax.faces.context.FacesContext context)
          Override to catch and handle exceptions in value change listeners that might have occured in the process validations phase.
 
Methods inherited from class javax.faces.component.UIViewRoot
createUniqueId, encodeBegin, getFamily, getLocale, getRenderKitId, getViewId, queueEvent, restoreState, saveState, setLocale, setRenderKitId, setViewId
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShaleViewRoot

public ShaleViewRoot()
Method Detail

processApplication

public void processApplication(javax.faces.context.FacesContext context)

Override to catch exceptions raised by the action listeners in the invoke application phase.

Overrides:
processApplication in class javax.faces.component.UIViewRoot
Parameters:
context - faces context

processDecodes

public void processDecodes(javax.faces.context.FacesContext context)

Override to catch and handle exceptions with immediate commands and value change listeners in the apply request values phase.

Overrides:
processDecodes in class javax.faces.component.UIViewRoot
Parameters:
context - faces context

processUpdates

public void processUpdates(javax.faces.context.FacesContext context)

Override to catch and handle exceptions raised in the update model phase.

Overrides:
processUpdates in class javax.faces.component.UIViewRoot
Parameters:
context - faces context

processValidators

public void processValidators(javax.faces.context.FacesContext context)

Override to catch and handle exceptions in value change listeners that might have occured in the process validations phase.

Overrides:
processValidators in class javax.faces.component.UIViewRoot
Parameters:
context - faces context


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.