public class ERQMJavascriptAppender
extends java.lang.Object
| Constructor and Description |
|---|
ERQMJavascriptAppender() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addScriptResourceAtCurrentPosition(WOResponse response,
WOContext context,
java.lang.String framework,
java.lang.String fileName)
Adds a script tag with a correct resource URL on the current position of the response if it isn't already present in the response.
|
static boolean |
isResourceAddedInThread(java.lang.String framework,
java.lang.String fileName) |
static void |
resourceAddedInThread(java.lang.String framework,
java.lang.String fileName) |
public static void addScriptResourceAtCurrentPosition(WOResponse response, WOContext context, java.lang.String framework, java.lang.String fileName)
response - the responsecontext - the contextframework - the framework that contains the filefileName - the name of the javascript file to addpublic static boolean isResourceAddedInThread(java.lang.String framework,
java.lang.String fileName)
public static void resourceAddedInThread(java.lang.String framework,
java.lang.String fileName)
Copyright © 2002 – 2022 Project Wonder.