public class FacesRequestContextImpl extends FacesRequestContext
| Constructor and Description |
|---|
FacesRequestContextImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addScript(Script script)
Adds the specified
Script to the list of scripts that are to be executed on the client. |
void |
addScript(String script)
Adds the specified script to the list of scripts that are to be executed on the client.
|
List<Script> |
getScripts()
Returns an immutable list of scripts that were added via the
FacesRequestContext.addScript(Script) or FacesRequestContext.addScript(String) method. |
void |
release()
Releases any resources that are associated with this
FacesRequestContext instance. |
getCurrentInstance, setCurrentInstancepublic void addScript(Script script)
FacesRequestContextScript to the list of scripts that are to be executed on the client.addScript in class FacesRequestContextpublic void addScript(String script)
FacesRequestContextaddScript in class FacesRequestContextpublic List<Script> getScripts()
FacesRequestContextFacesRequestContext.addScript(Script) or FacesRequestContext.addScript(String) method.getScripts in class FacesRequestContextpublic void release()
FacesRequestContextFacesRequestContext instance.release in class FacesRequestContextCopyright © 2016 Liferay, Inc.. All rights reserved.