org.apache.myfaces.tobago.component
Class UIScript

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by 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.


Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
UIScript()
           
 
Method Summary
 String getFamily()
           
 String getFile()
           
 String getOnexit()
           
 String getOnload()
           
 String getOnsubmit()
           
 String getOnunload()
           
 String getScript()
           
 void restoreState(FacesContext context, Object componentState)
           
 Object saveState(FacesContext context)
           
 void setFile(String file)
           
 void setOnexit(String onexit)
           
 void setOnload(String onload)
           
 void setOnsubmit(String onsubmit)
           
 void setOnunload(String onunload)
           
 void setScript(String script)
           
 
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 javax.faces.component.UIComponent
encodeAll, getContainerClientId, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

UIScript

public UIScript()
Method Detail

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.