org.apache.myfaces.tobago.component
Class UIScript
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.apache.myfaces.tobago.component.UIScript
- All Implemented Interfaces:
- StateHolder
public class UIScript
- extends UIComponentBase
This tag add client side script to the rendered page.
UIComponent class, generated from template component1.2.stg
with class
org.apache.myfaces.tobago.internal.taglib.component.ScriptTagDeclaration
.
Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
UIScript
public UIScript()
getFamily
public String getFamily()
- Specified by:
getFamily
in class UIComponent
getOnload
public String getOnload()
setOnload
public void setOnload(String onload)
getFile
public String getFile()
setFile
public void setFile(String file)
getOnunload
public String getOnunload()
setOnunload
public void setOnunload(String onunload)
getScript
public String getScript()
setScript
public void setScript(String script)
getOnexit
public String getOnexit()
setOnexit
public void setOnexit(String onexit)
getOnsubmit
public String getOnsubmit()
setOnsubmit
public void setOnsubmit(String onsubmit)
restoreState
public void restoreState(FacesContext context,
Object componentState)
- Specified by:
restoreState
in interface StateHolder
- Overrides:
restoreState
in class UIComponentBase
saveState
public Object saveState(FacesContext context)
- Specified by:
saveState
in interface StateHolder
- Overrides:
saveState
in class UIComponentBase
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.