MoreMotion Face API

Class AjaxRequest

Object
   |
   +--AjaxRequest

class AjaxRequest


Represents a MoreMotion Ajax Request that is responsible for preparing an xmlHttpRequest, sending it, receiving the response and converting the response into the speficied response type. The supported Response types are AjaxResponse and MultiPartAjaxResponse
Defined in Ajax.js


Field Summary
 String_or_HTMLElement busyImage
          Html Id or the object of a DOM element that will be visible until the response is received and processed.
 function errorHandler
          The Javascript function responsible for handling the errors
 String method
          The Request Method.
 Object pageInfo
          
 Object props
          The properties object to store user data
 String requestEncoding
          The Request Encoding.
 RequestParameterAccumulator requestParams
          Request Parameters.
 String responseEncoding
          The Response Encoding.
 function responseHandler
          The Javascript function responsible for handling the response
 String service
          The name of the Ajax Service on the server.
 boolean waitForResponse
          Flag that specifies that the send() should not return until a response is received from the Ajax Service.
 
Constructor Summary
AjaxRequest(requestParams, responseHandler, props)
           
 
Method Summary
 void send(controlId)
           Sends the request to the Ajax Service that is specified with member field service

Field Detail

busyImage

String_or_HTMLElement busyImage

errorHandler

function errorHandler

method

String method

pageInfo

Object pageInfo

props

Object props

requestEncoding

String requestEncoding

requestParams

RequestParameterAccumulator requestParams

responseEncoding

String responseEncoding

responseHandler

function responseHandler

service

String service

waitForResponse

boolean waitForResponse

Constructor Detail

AjaxRequest

AjaxRequest(requestParams, responseHandler, props)

Method Detail

send

void send(controlId)

MoreMotion Face API

Copyright 2002 - 2008, MOR YAZILIM
Documentation generated by JSDoc on Mon Sep 29 14:52:55 2008