|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.apache.myfaces.tobago.component.UIScript
public class UIScript
This tag adds script files to include to the rendered page.
Direct calls can also be registered via special attributes,
This will be deprecated (because of CSP) in later versions.
UIComponent class, generated from template component1.2.stg with class
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()
Deprecated. |
String |
getOnload()
Deprecated. |
String |
getOnsubmit()
Deprecated. |
String |
getOnunload()
Deprecated. |
String |
getScript()
Deprecated. |
void |
restoreState(javax.faces.context.FacesContext context,
Object componentState)
|
Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setFile(String file)
|
void |
setOnexit(String onexit)
Deprecated. |
void |
setOnload(String onload)
Deprecated. |
void |
setOnsubmit(String onsubmit)
Deprecated. |
void |
setOnunload(String onunload)
Deprecated. |
void |
setScript(String script)
Deprecated. |
| 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 |
|---|
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
| Constructor Detail |
|---|
public UIScript()
| Method Detail |
|---|
public String getFamily()
getFamily in class javax.faces.component.UIComponent@Deprecated public String getOnload()
Tobago.registerListener(myFunction, Tobago.Phase.DOCUMENT_READY); or
Tobago.registerListener(myFunction, Tobago.Phase.WINDOW_LOAD);
@Deprecated public void setOnload(String onload)
public String getFile()
public void setFile(String file)
@Deprecated public String getOnunload()
Tobago.registerListener(myFunction, Tobago.Phase.BEFORE_UNLOAD);
@Deprecated public void setOnunload(String onunload)
@Deprecated public String getScript()
@Deprecated public void setScript(String script)
@Deprecated public String getOnexit()
Tobago.registerListener(myFunction, Tobago.Phase.BEFORE_EXIT);
@Deprecated public void setOnexit(String onexit)
@Deprecated public String getOnsubmit()
Tobago.registerListener(myFunction, Tobago.Phase.BEFORE_SUBMIT);
@Deprecated public void setOnsubmit(String onsubmit)
public void restoreState(javax.faces.context.FacesContext context,
Object componentState)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIComponentBasepublic Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UIComponentBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||