OpenWGA 7.1 - JavaScript reference


Object:

WGA.ajax

Description This object offers functionaltiy around clientside AJAX technology and calling WebTML actions via AJAX.
Retrieval As object "WGA.ajax" in clientside Javascript
Properties and methods
Name Purpose
WGA.ajax.action(params) Calls a WebTML AJAX action from JavaScript
WGA.ajax.b4post.register(formid, fn) Registers a function to be executed when a HTML form is posted via AJAX action
WGA.ajax.callAction(actionlink, [portletid, [graydiv, [cb [, urlParams]]]]) Calls a WebTML action via AJAX
WGA.ajax.request(method, uri, data, cb [, headers]) Executes an HTTP request via AJAX