PART IV
Appendix C: AjaxTCR Library Reference 611
OptionDescriptionDefaultExampleasync: BooleanDefines if the request should be asynchronous or not. The default is true when not specified.true async: falsecacheKey : stringBy default items are saved in cache using the URL of the object as a key. If another value is desired you may set it through this property, though you will be responsible for manually retrieving, as the request system will use the URL of requests to determine if something is cached or not.URL of requestcacheKey: "galactica actual"cacheResponse: BooleanBoolean that indicates if the response should be saved in the response cache.false cacheResponse: truecacheTemplate: BooleanIf a cache is returned with the response, indicates if it should be saved in the template cache or not.true cacheTemplate: truecookieName : stringThe name of the cookie expected upon response when the transport type is image. If specified, theresponseTextwill bepopulated with the value of this cookie only. If unspecified,responseTextwill containthe entire cookie and the developer is required to parse out the response manually. Should be set ifoutputTargetis alsospecified with request.document.cookiecookieName : "responsePayload"enforceOrder : BooleanBoolean that forces every response that has this value set to be returned in the order in which it was sent; this means that responses may be held until previous requests arrive.false enforceOrder: truefallback : BooleanDefines if the communication mechanism should fall back to another method if the XHR fails for some reason. The fallback transport scheme is defined by fallbackTransport, or the global defaultis consulted.true fallback: trueTABLEC-2Options Object Properties for Making Requests