|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.faces.dhtml.renderkit.IlvScriptManager
public class IlvScriptManager
This class manages the JavaScript scripts that are needed by the JViews
Faces DHTML components to render properly.
There is an instance for each request that is accessible from the IlvFacesManager.
| Field Summary | |
|---|---|
static ArrayList |
BUNDLES
The script bundles used in the DHTML rendering of the ILOG JViews JSF components. |
| Constructor Summary | |
|---|---|
IlvScriptManager()
Creates a new IlvScriptManager instance. |
|
| Method Summary | |
|---|---|
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(ResponseWriter writer)
Renders the HTML code to the import the needed scripts at this specific place of the page. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ArrayList BUNDLES
| Constructor Detail |
|---|
public IlvScriptManager()
IlvScriptManager instance.
| Method Detail |
|---|
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(ResponseWriter writer)
writer - The response writer.
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.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||