public class UIScripts extends UITransient implements org.richfaces.javascript.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, setValueExpressionaddClientBehavior, clearInitialState, getClientBehaviors, getDefaultEventName, getEventNames, getFacetCount, invokeOnComponent, markInitialState, restoreAttachedState, saveAttachedState, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTreepublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public Collection<Object> getScripts()
getScripts in interface org.richfaces.javascript.ScriptsHolderpublic Collection<Object> getPageReadyScripts()
getPageReadyScripts in interface org.richfaces.javascript.ScriptsHolderpublic String getFamily()
getFamily in class javax.faces.component.UIComponentpublic void setTarget(String target)
public String getTarget()
protected boolean hasAttribute(Object key)
hasAttribute in class UITransientprotected Object setAttribute(String key, Object value)
setAttribute in class UITransientprotected Object getAttribute(Object key)
getAttribute in class UITransientCopyright © 2012 JBoss by Red Hat. All Rights Reserved.