|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
org.richfaces.component.UITransient
org.richfaces.component.UIScripts
public class UIScripts
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.
Field Summary | |
---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
Fields inherited from class javax.faces.component.UIComponent |
---|
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY |
Constructor Summary | |
---|---|
UIScripts()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.richfaces.component.UITransient |
---|
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, setValueExpression |
Methods inherited from class javax.faces.component.UIComponent |
---|
clearInitialState, encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getFacetCount, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, initialStateMarked, invokeOnComponent, isCompositeComponent, isInView, isVisitable, markInitialState, popComponentFromEL, processEvent, pushComponentToEL, setInView, subscribeToEvent, unsubscribeFromEvent, visitTree |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
Constructor Detail |
---|
public UIScripts()
Method Detail |
---|
public Collection<Object> getScripts()
getScripts
in interface org.richfaces.javascript.ScriptsHolder
public Collection<Object> getPageReadyScripts()
getPageReadyScripts
in interface org.richfaces.javascript.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |