public class IlvScriptManager extends Object
IlvFacesManager.| Modifier and Type | Field and Description |
|---|---|
static ArrayList<String> |
BUNDLES
The script bundles used in the DHTML rendering of the Perforce JViews JSF components.
|
| Constructor and Description |
|---|
IlvScriptManager()
Creates a new
IlvScriptManager instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
addLocaleScript(Locale locale,
String url)
Adds a locale script that must be loaded before creating the component JavaScript object.
|
void |
addScript(String url)
Adds a script that must be loaded before creating the component JavaScript object.
|
void |
addScript(Writer writer,
String url)
Deprecated.
Beginning of JViews 8.1 use
addScript(String). |
void |
emitScriptToLoad(IlvScriptDescriptor scriptDescriptor)
Adds a script descriptor that must be loaded before creating the component JavaScript object.
|
void |
emitScriptToLoad(Writer writer,
IlvScriptDescriptor scriptDescriptor)
Deprecated.
Beginning of JViews 8.1 use
emitScriptToLoad(IlvScriptDescriptor) |
void |
render(jakarta.faces.context.ResponseWriter writer)
Renders the HTML code to the import the needed scripts at this specific place of the page.
|
public IlvScriptManager()
IlvScriptManager instance.@Deprecated public void emitScriptToLoad(Writer writer, IlvScriptDescriptor scriptDescriptor)
emitScriptToLoad(IlvScriptDescriptor)writer - The writer into which to write the declaration of the script.scriptDescriptor - The script descriptor of the renderer.public void emitScriptToLoad(IlvScriptDescriptor scriptDescriptor)
scriptDescriptor - The script descriptor of the renderer.public void render(jakarta.faces.context.ResponseWriter writer)
writer - The response writer.@Deprecated public void addScript(Writer writer, String url)
addScript(String).writer - The current response writer.url - The URL of the script to load.public void addScript(String url)
url - The URL of the script to load.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.