org.apache.myfaces.custom.ppr
Class AbstractPPRSubmit

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.apache.myfaces.custom.ppr.AbstractPPRSubmit
All Implemented Interfaces:
javax.faces.component.StateHolder

public abstract class AbstractPPRSubmit
extends javax.faces.component.UIComponentBase

PPRSubmitTag can be attached to command components, enabling PPR-request inside UIData components

Author:
Thomas Spiegl

Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
static java.lang.String DEFAULT_RENDERER_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
AbstractPPRSubmit()
           
 
Method Summary
abstract  java.lang.String getProcessComponentIds()
          comma separated List of component ids to process.
 void queueEvent(javax.faces.event.FacesEvent event)
          intercept the event placed by any child component
if such an event happens PPRSubmit will gather all components and store their client-ids in a request scoped list for further processing by the PPRViewRootWrapper
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getFamily, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values

DEFAULT_RENDERER_TYPE

public static final java.lang.String DEFAULT_RENDERER_TYPE
See Also:
Constant Field Values
Constructor Detail

AbstractPPRSubmit

public AbstractPPRSubmit()
Method Detail

getProcessComponentIds

public abstract java.lang.String getProcessComponentIds()
comma separated List of component ids to process. As usual the whole form will be transmitted and rerendered, but only for the components configured validation and update-model will happen.


queueEvent

public void queueEvent(javax.faces.event.FacesEvent event)
intercept the event placed by any child component
if such an event happens PPRSubmit will gather all components and store their client-ids in a request scoped list for further processing by the PPRViewRootWrapper

Overrides:
queueEvent in class javax.faces.component.UIComponentBase


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.