public class ResolveComponent extends UtilFamily implements FaceletContextConsumer, SystemEventListener
The <o:resolveComponent>
component is a utility component via which a component can be looked up by its ID and
a reference to it put in either the "facelet scope" (default) or the request scope.
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_TYPE |
static String |
DEFAULT_SCOPE |
COMPONENT_FAMILY
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
Constructor and Description |
---|
ResolveComponent() |
Modifier and Type | Method and Description |
---|---|
void |
doProcess() |
String |
getFor() |
String |
getName() |
String |
getScope() |
boolean |
isListenerForSource(Object source) |
void |
processEvent(ComponentSystemEvent event) |
void |
processEvent(SystemEvent event) |
void |
setFaceletContext(FaceletContext faceletContext) |
void |
setFor(String nameValue) |
void |
setName(String nameValue) |
void |
setScope(String scopeValue) |
getFamily, getRendersChildren
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
public static final String COMPONENT_TYPE
public static final String DEFAULT_SCOPE
public void setFaceletContext(FaceletContext faceletContext)
setFaceletContext
in interface FaceletContextConsumer
public boolean isListenerForSource(Object source)
isListenerForSource
in interface SystemEventListener
public void processEvent(SystemEvent event) throws AbortProcessingException
processEvent
in interface SystemEventListener
AbortProcessingException
public void processEvent(ComponentSystemEvent event) throws AbortProcessingException
processEvent
in interface ComponentSystemEventListener
processEvent
in class UIComponent
AbortProcessingException
public void doProcess()
public String getName()
public void setName(String nameValue)
public String getFor()
public void setFor(String nameValue)
public String getScope()
public void setScope(String scopeValue)
Copyright © 2012–2014 OmniFaces. All rights reserved.