API DOCS

DOCS & TUTORIALS » API DOCS » xajax_js » xajax_debug_uncompressed.js » xajax.debug

Class: xajax.debug



This object contains the variables and functions used to display process state
messages and to trap error conditions and report them to the user via
a secondary browser window or alert messages as necessary.

variables

functions

xajax.debug.getExceptionText

xajax.debug.getExceptionText = function(e) { }

xajax.debug.writeMessage

xajax.debug.writeMessage = function(text, prefix, cls) { }

Output a debug message to the debug window if available or send to an
alert box. If the debug window has not been created, attempt to
create it.


xajax.debug.prepareDebugText

xajax.debug.prepareDebugText = function(text) { }

Convert special characters to their HTML equivellents so they
will show up in the .


xajax.debug.executeCommand


Catch any exceptions that are thrown by a response command handler
and display a message in the debugger.

This is a wrapper function which surrounds the standard
function.

xajax.parseAttributes

xajax.parseAttributes = function(child, obj) { }

Catch any exception thrown during the parsing of response
command attributes and display an appropriate debug message.

This is a wrapper around the standard
function.


xajax.tools.$

xajax.tools.$ = function(sId) { }

Catch any exceptions thrown while attempting to locate an
HTML element by it's unique name.

This is a wrapper around the standard function.


xajax.tools._objectToXML

xajax.tools._objectToXML = function(obj, guard) { }

Generate a message indicating that a javascript object is
being converted to xml. Indicate the max depth and size. Then
display the size of the object upon completion. Catch any
exceptions thrown during the conversion process.

This is a wrapper around the standard
function.


xajax._internalSend

xajax._internalSend = function(oRequest) { }

Generate a message indicating that the xajax request is
about the be sent to the server.

This is a wrapper around the standard
function.

xajax.submitRequest

xajax.submitRequest = function(oRequest) { }

Generate a message indicating that a request is ready to be
submitted; providing the URL and the function being invoked.

Catch any exceptions thrown and display a message.

This is a wrapper around the standard
function.

xajax.initializeRequest

xajax.initializeRequest = function(oRequest) { }

Generate a message indicating that the request object is
being initialized.

This is a wrapper around the standard
function.

xajax.processParameters

xajax.processParameters = function(oRequest) { }

Generate a message indicating that the request object is
being populated with the parameters provided.

This is a wrapper around the standard
function.

xajax.prepareRequest

xajax.prepareRequest = function(oRequest) { }

Generate a message indicating that the request is being
prepared. This may occur more than once for a request
if it errors and a retry is attempted.

This is a wrapper around the standard

xajax.call

xajax.call = function() { }

Validates that a function name was provided, generates a message
indicating that a xajax call is starting and sets a flag in the
request object indicating that debugging is enabled for this call.

This is a wrapper around the standard function.

xajax.request

xajax.request = function() { }

Validates that a function name was provided, generates a message
indicating that a xajax request is starting and sets a flag in the
request object indicating that debugging is enabled for this request.

This is a wrapper around the standard function.

xajax.getResponseProcessor

xajax.getResponseProcessor = function(oRequest) { }

Generate an error message when no reponse processor is available
to process the type of response returned from the server.

This is a wrapper around the standard
function.

xajax.responseReceived

xajax.responseReceived = function(oRequest) { }

Generate a message indicating that a response has been received
from the server; provide some statistical data regarding the
response and the response time.

Catch any exceptions that are thrown during the processing of
the response and generate a message.

This is a wrapper around the standard
function.

xajax.completeResponse

xajax.completeResponse = function(oRequest) { }

Generate a message indicating that the request has completed
and provide some statistics regarding the request and response.

This is a wrapper around the standard
function.

xajax.tools.getRequestObject

xajax.tools.getRequestObject = function() { }

Generate a message indicating that the request object is
being initialized.

Catch any exceptions that are thrown during the process or
initializing a new request object.

This is a wrapper around the standard
function.

xajax.dom.assign

xajax.dom.assign = function(element, property, data) { }

Catch any exceptions thrown during the assignment and
display an error message.

This is a wrapper around the standard
function.

xajax.tools.queue.retry

xajax.tools.queue.retry = function(obj, count) { }

 



XAJAX on SourceForge.net
Support this project Valid XHTML 1.0 Transitional