OpenWGA 5.5 - JavaScript reference


Object:

WGA

Description This is a generic tool object for WGA collecting various related functionality.
Retrieval As window property "WGA" in clientside JavaScript
Properties and methods
Name Purpose
WGA.b4submit.register(fn) Register a function to be called before an HTML form is submitted
WGA.callAction(actionLink) Calls a normal (non-AJAX) WebTML Action from clientside Javascript
WGA.contextpath Offers the URL context path under which OpenWGA is reachable
WGA.onload.register(fn) Registers a JavaScript function to be executed on the "onload" event of the web page