Package | Description |
---|---|
com.liferay.faces.util.client | |
com.liferay.faces.util.context |
Modifier and Type | Class and Description |
---|---|
class |
ScriptWrapper
Provides a simple implementation of
Script that can be subclassed in order to decorate another instance of
the same type. |
Modifier and Type | Method and Description |
---|---|
abstract Script |
ScriptFactory.getScript(String sourceCode)
Returns a new instance of
Script with the specified source code. |
abstract Script |
ScriptFactory.getScript(String sourceCode,
String[] modules,
Script.ModulesType modulesType)
Returns a new instance of
Script with the specified source code, modules, and type. |
static Script |
ScriptFactory.getScriptInstance(javax.faces.context.ExternalContext externalContext,
String sourceCode)
|
static Script |
ScriptFactory.getScriptInstance(javax.faces.context.ExternalContext externalContext,
String sourceCode,
String[] modules,
Script.ModulesType modulesType)
|
static Script |
ScriptFactory.getScriptInstance(String sourceCode)
Deprecated.
Call
ScriptFactory.getScriptInstance(ExternalContext, String) instead.
Returns a new instance of |
static Script |
ScriptFactory.getScriptInstance(String sourceCode,
String[] modules,
Script.ModulesType modulesType)
Deprecated.
Call
ScriptFactory.getScriptInstance(ExternalContext, String, String[], Script.ModulesType) instead.
Returns a new instance of |
Modifier and Type | Method and Description |
---|---|
void |
ScriptsEncoderWrapper.encodeBodyScripts(javax.faces.context.FacesContext facesContext,
List<Script> scripts) |
void |
ScriptsEncoder.encodeBodyScripts(javax.faces.context.FacesContext facesContext,
List<Script> scripts) |
void |
ScriptsEncoderWrapper.encodeEvalScripts(javax.faces.context.FacesContext facesContext,
List<Script> scripts) |
void |
ScriptsEncoder.encodeEvalScripts(javax.faces.context.FacesContext facesContext,
List<Script> scripts) |
Modifier and Type | Method and Description |
---|---|
abstract List<Script> |
FacesRequestContext.getScripts()
Returns an immutable list of scripts that were added via the
FacesRequestContext.addScript(Script) or FacesRequestContext.addScript(FacesContext,String) method. |
Modifier and Type | Method and Description |
---|---|
abstract void |
FacesRequestContext.addScript(Script script)
Adds the specified
Script to the list of scripts that are to be executed on the client. |
Copyright © 2018 Liferay, Inc.. All rights reserved.