init

This method is called when the application instance is constructed.

Your extending Application class can override this method, and include custom functionality as required.

The extending method must call the following method to include the functionality provided in the base Application class:

  • this.jsxsuper();

Syntax

init(appRoot);

Parameters

  • appRoot - (jsx3.gui.Block) The root of the application. This is typically the JSXBODY jsx3.gui.Block instance; it is determined by the appRoot value in the wccConfig.xml file. If appRoot is not specified in wccConfig.xml, it is set to the body block returned by server.getBodyBlock().

    For information about the wccConfig.xml file, see the TIBCO Workspace Configuration and Customization guide.

Also see: getAppBlock

Returns

none