public class UIWebScript extends SelfRenderingComponent
Responsible for generating a JSF Component specific WebScriptRuntime instance and executing the specified WebScript against the runtime.
| Modifier and Type | Class and Description |
|---|---|
static class |
UIWebScript.WebScriptEvent
Class representing the clicking of a webscript url action.
|
| Constructor and Description |
|---|
UIWebScript()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
broadcast(javax.faces.event.FacesEvent event) |
void |
decode(javax.faces.context.FacesContext context) |
void |
encodeBegin(javax.faces.context.FacesContext context) |
Object |
getContext() |
String |
getFamily() |
String |
getScriptUrl() |
void |
restoreState(javax.faces.context.FacesContext context,
Object state) |
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setContext(Object context) |
void |
setScriptUrl(String scriptUrl)
Set the scriptUrl
|
outputAttributeaddFacesListener, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBindingpublic String getFamily()
getFamily in class javax.faces.component.UIComponentUIComponent.getFamily()public void restoreState(javax.faces.context.FacesContext context,
Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIComponentBaseStateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)public Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UIComponentBaseStateHolder.saveState(javax.faces.context.FacesContext)public void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
broadcast in class javax.faces.component.UIComponentBasejavax.faces.event.AbortProcessingExceptionpublic void decode(javax.faces.context.FacesContext context)
decode in class javax.faces.component.UIComponentBasepublic void encodeBegin(javax.faces.context.FacesContext context)
throws IOException
encodeBegin in class javax.faces.component.UIComponentBaseIOExceptionUIComponentBase.encodeBegin(javax.faces.context.FacesContext)public void setScriptUrl(String scriptUrl)
scriptUrl - the scriptUrlpublic String getScriptUrl()
public Object getContext()
public void setContext(Object context)
context - the user defined script context to setCopyright © 2005–2019 Alfresco Software. All rights reserved.