|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
TBD
| Bindings | |||
|---|---|---|---|
filename
|
TBD |
String (get) |
|
language
|
TBD |
String (get) |
|
isSingleton
|
Only meaningful when not using scriptFile binding and the AWClientSideScript is used to render a script block. By default, the value of this binding is $true. If a resusable component uses an AWClientSideScript to define a block of inline script this binding should most likely be set binding to false or else only a single instance of the script block will be rendered per page. When this binding is set to $false, care should be taken with the declaration of global variables as the declaration may be rendered multiple times. |
boolean (get) |
|
scriptFile
|
TBD |
String (get) |
|
scriptString
|
TBD |
String (get) |
|
elementId
|
TBD |
String (set) |
|
invokeAction
|
TBD |
method (get) |
|
executeOnIncrementalUpdate
|
Indicates that this script should be executed on a full page refresh as well an incremental update of an AWRefreshRegion including this script. In the incremental update case, all DOM updates will be applied before AWClientSideScript's are executed. AWClientSideScript's are executed in the context of the main application window. In order to have a method execute on every refresh of a page, regardless of whether or not its containing AWRefreshRegion is rendered, use executeOnIncrementalUpdate=false and call the Event.registerRefreshCallback() to register the method to call, or use executeOn="onupdate". |
boolean (get) |
|
globalScope
|
Implies that the script should be run inline (immediately when encountered whether that is in the refresh frame or in the main document window). |
boolean (get) |
|
forceDirectInclude
|
Include file directly (instead of via async XMLHTTP). |
boolean (get) |
|
synchronous
|
Execute inline scripts synchronously (instead of after dom update complete). |
boolean (get) |
|
executeOn
|
If specified, then this script will be run upon the specified window / document event. Supported events include: "onfocusin", "onload" |
String (get) |
|
handle
|
If bound, will push a string that can be used in an event handler to invoke this code. E.g.
| String (set) |
|
java.lang.Objectariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.core.AWComponent
ariba.ui.aribaweb.html.AWClientSideScript
public final class AWClientSideScript
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface ariba.ui.aribaweb.core.AWResponseGenerating |
|---|
AWResponseGenerating.ResponseSubstitution |
| Constructor Summary | |
|---|---|
AWClientSideScript()
|
|
| Method Summary | |
|---|---|
boolean |
formatInPre()
|
boolean |
hasScriptBinding()
|
void |
renderResponse(AWRequestContext requestContext,
AWComponent component)
The receiver should render its content to the AWRequestContext.response() |
String |
scriptFileUrl()
|
String |
scriptString()
|
void |
setupSpanId()
|
String[] |
supportedBindingNames()
|
boolean |
useDirectGlobalScript()
|
boolean |
useDirectInclude()
|
String |
vbsFlag()
|
| Methods inherited from class ariba.ui.aribaweb.util.AWBaseObject |
|---|
debugString, getFieldValue, isKindOfClass, localizedJavaString, logString, logWarning, setFieldValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ariba.ui.aribaweb.util.AWObject |
|---|
getFieldValue, isKindOfClass, setFieldValue |
| Methods inherited from interface ariba.ui.aribaweb.util.AWObject |
|---|
getFieldValue, isKindOfClass, setFieldValue |
| Field Detail |
|---|
public String _filename
public boolean _isGlobalScope
public boolean _isVBScript
public AWEncodedString _spanId
public String _executeOn
| Constructor Detail |
|---|
public AWClientSideScript()
| Method Detail |
|---|
public boolean useDirectInclude()
public boolean useDirectGlobalScript()
public boolean formatInPre()
public void renderResponse(AWRequestContext requestContext,
AWComponent component)
AWCycleableAWRequestContext.response()
renderResponse in interface AWCycleablerenderResponse in class AWComponentrequestContext - the context for the current request.component - the current parent componentpublic String[] supportedBindingNames()
supportedBindingNames in class AWComponentpublic String scriptFileUrl()
public boolean hasScriptBinding()
public String scriptString()
public void setupSpanId()
public String vbsFlag()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||