public class UIScripts extends UITransient implements ScriptsHolder
This component user to render Client Validator scripts. Any ClientValidatorBehavior that requires additional scripts should put them to this component, associated with "form" target in view resources.
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
Constructor and Description |
---|
UIScripts() |
Modifier and Type | Method and Description |
---|---|
protected Object |
getAttribute(Object key) |
String |
getFamily() |
Collection<Object> |
getPageReadyScripts()
|
Collection<Object> |
getScripts() |
String |
getTarget() |
protected boolean |
hasAttribute(Object key) |
protected Object |
setAttribute(String key,
Object value) |
void |
setTarget(String target) |
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, setValueExpression
addClientBehavior, clearInitialState, getClientBehaviors, getDefaultEventName, getEventNames, getFacetCount, getPassThroughAttributes, invokeOnComponent, markInitialState, restoreAttachedState, saveAttachedState, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTree
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public Collection<Object> getScripts()
getScripts
in interface ScriptsHolder
public Collection<Object> getPageReadyScripts()
ScriptsHolder
getPageReadyScripts
in interface ScriptsHolder
public String getFamily()
getFamily
in class javax.faces.component.UIComponent
public void setTarget(String target)
public String getTarget()
protected boolean hasAttribute(Object key)
hasAttribute
in class UITransient
protected Object setAttribute(String key, Object value)
setAttribute
in class UITransient
protected Object getAttribute(Object key)
getAttribute
in class UITransient
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.