public abstract class ScriptFamily extends UIComponentBase
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY
The standard 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 |
---|
ScriptFamily() |
Modifier and Type | Method and Description |
---|---|
String |
getFamily()
Returns
COMPONENT_FAMILY . |
boolean |
getRendersChildren()
Returns
true . |
protected static boolean |
moveToBody(ComponentSystemEvent event,
ScriptFamily component)
Move the given ScriptFamily component to end of body and returns
true if done so. |
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, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
public static final String COMPONENT_FAMILY
public String getFamily()
COMPONENT_FAMILY
.getFamily
in class UIComponent
public boolean getRendersChildren()
true
.getRendersChildren
in class UIComponentBase
protected static boolean moveToBody(ComponentSystemEvent event, ScriptFamily component)
true
if done so. This helper method
needs to be called from UIComponent.processEvent(ComponentSystemEvent)
during PostAddToViewEvent
or
PostRestoreStateEvent
. This has basically the same effect as setting target="body"
on a
component resource.event
- The involved event, which can be either PostAddToViewEvent
or PostRestoreStateEvent
.component
- The component to be moved to body.true
if the move has taken place.Copyright © 2012–2015 OmniFaces. All rights reserved.