| Package | Description |
|---|---|
| com.liferay.faces.util.client | |
| com.liferay.faces.util.client.internal | |
| com.liferay.faces.util.context | |
| com.liferay.faces.util.context.internal |
| 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(String sourceCode)
|
static Script |
ScriptFactory.getScriptInstance(String sourceCode,
String[] modules,
Script.ModulesType modulesType)
|
| 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 | Class and Description |
|---|---|
class |
ScriptImpl |
| Modifier and Type | Method and Description |
|---|---|
Script |
ScriptFactoryImpl.getScript(String sourceCode) |
Script |
ScriptFactoryImpl.getScript(String sourceCode,
String[] modules,
Script.ModulesType modulesType) |
| Modifier and Type | Method and Description |
|---|---|
void |
ScriptsEncoderImpl.encodeBodyScripts(javax.faces.context.FacesContext facesContext,
List<Script> scripts) |
void |
ScriptsEncoderImpl.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(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. |
| Modifier and Type | Method and Description |
|---|---|
List<Script> |
FacesRequestContextImpl.getScripts() |
| Modifier and Type | Method and Description |
|---|---|
void |
FacesRequestContextImpl.addScript(Script script) |
Copyright © 2016 Liferay, Inc.. All rights reserved.