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 specified response type.
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 that can be "GET" or "POST".
 PageInfo pageInfo
          The page information used by this request.
 AjaxRequestProps props
          The Ajax Request Properties object passed to the related refresh method.
 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(<RequestParameterAccumulator> requestParams, <Function> responseHandler, <AjaxRequestProps> 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

PageInfo pageInfo

props

AjaxRequestProps props

requestEncoding

String requestEncoding

requestParams

RequestParameterAccumulator requestParams

responseEncoding

String responseEncoding

responseHandler

function responseHandler

service

String service

waitForResponse

Boolean waitForResponse

Constructor Detail

AjaxRequest

AjaxRequest(<RequestParameterAccumulator> requestParams, <Function> responseHandler, <AjaxRequestProps> props)

Method Detail

send

void send(controlId)

MoreMotion Face API

Copyright 2002 - 2011, MOR YAZILIM
Documentation generated by JSDoc on Thu Mar 3 18:19:14 2011