org.apache.shale.view.faces
Class SubviewComponent

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UINamingContainer
              extended by org.apache.shale.view.faces.SubviewComponent
All Implemented Interfaces:
javax.faces.component.NamingContainer, javax.faces.component.StateHolder

public class SubviewComponent
extends javax.faces.component.UINamingContainer

Specialized implementation of UINamingContainer that provides ViewController functionality for subviews.

$Id: SubviewComponent.java 464373 2006-10-16 04:21:54Z rahul $


Field Summary
 
Fields inherited from class javax.faces.component.UINamingContainer
COMPONENT_FAMILY, COMPONENT_TYPE
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
SubviewComponent()
           
 
Method Summary
 void encodeBegin(javax.faces.context.FacesContext context)
          Prior to the standard processing, call the prerender() callback on the ViewController associated with this subview, if any.
 String getFamily()
          Return the component family for this component.
 void processDecodes(javax.faces.context.FacesContext context)
          Prior to the standard processing, call the preprocess() callback on the ViewController associated with this subview, if any.
 
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, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, 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

SubviewComponent

public SubviewComponent()
Method Detail

getFamily

public String getFamily()

Return the component family for this component.

Overrides:
getFamily in class javax.faces.component.UINamingContainer

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext context)
                 throws IOException

Prior to the standard processing, call the prerender() callback on the ViewController associated with this subview, if any.

Overrides:
encodeBegin in class javax.faces.component.UIComponentBase
Parameters:
context - FacesContext for the current request
Throws:
IOException - if an input/output error occurs

processDecodes

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

Prior to the standard processing, call the preprocess() callback on the ViewController associated with this subview, if any.

Overrides:
processDecodes in class javax.faces.component.UIComponentBase
Parameters:
context - FacesContext for the current request


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