Jaxer.Overrides : Object
Return to: Jaxer Framework index

Namespace used for overriding some of the built-in JavaScript and JavaScript-environment (user-agent) functions that may not make sense or need to behave differently on the server.

Platform Support

Jaxer Server FrameworkJaxer Client Framework
1.0no

Classes

Jaxer.Overrides.JSON

Functions

MethodActionJaxer Server FrameworkJaxer Client Framework
static applyAll(Object global) : void
Applies all the overrides on the given global object, including the no-ops "setTimeout" and "setInterval"

(Advanced)
Show Details1.0no

Parameters
ObjectglobalThe global (typically window) object

static extendDomSetters(Object global) : void
Alters the built-in setter methods for various DOM FORM element prototypes to alter the DOM as well as set the value of the associated in-memory property. E.g., normally when you set the value of an input element, the "value" attribute of the element in the DOM isn't altered. After running the function below, the "value" attribute on any input element will stay in sync with its in-memory value, so it will get serialized with the rest of the DOM when we're ready to send the DOM to the browser.

(Advanced)
Show Details1.0no

Parameters
ObjectglobalThe global object (usually a window object) whose prototype setters are to be overridden.

static alert(String message) : void
Alert in a server-side context will generate an info-level log message
Show Details1.0no

Parameters
Stringmessage

static confirm(String message) : void
Confirm in a server-side context will generate an info-level log message
Show Details1.0no

Parameters
Stringmessage

static prompt(String message) : void
Prompt in a server-side context will generate an info-level log message
Show Details1.0no

Parameters
Stringmessage

aptana_docs