public class ERQMJavascriptAppender extends Object
Constructor and Description |
---|
ERQMJavascriptAppender() |
Modifier and Type | Method and Description |
---|---|
static void |
addScriptResourceAtCurrentPosition(WOResponse response,
WOContext context,
String framework,
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(String framework,
String fileName) |
static void |
resourceAddedInThread(String framework,
String fileName) |
public static void addScriptResourceAtCurrentPosition(WOResponse response, WOContext context, String framework, String fileName)
response
- the responsecontext
- the contextframework
- the framework that contains the filefileName
- the name of the javascript file to addpublic static boolean isResourceAddedInThread(String framework, String fileName)
Copyright © 2002 – 2024 Project Wonder.