getApp

Returns the instance of the com.tibco.wcc.components.Application object for the specified namespace.

Note that this is a static method; also see the getApp method on getApp, which returns the current application instance.

If a component is passed in that is not attached to the DOM, (i.e., namespaceRef.getServer() = null), this method returns null.

Syntax

com.tibco.wcc.components.Application.getApp(namespaceRef);

Parameters

  • namespaceRef - (String or Object) This is a unique identifier for the jsx3.app.Server instance. This can be one of the following:
    • String
    • Object - This must implement getServer(), which returns jsx3.app.Server.

Returns

  • com.tibco.wcc.components.Application
  • null if no matching application instance is found.